PDA

View Full Version : Callbacks include giving me errors


maximthepain
23/07/2014, 07:21 PM
I'm having a error please help !



callbacks.inc(1) : error 010: invalid function or declaration



callbacks.inc Line 1:

#if !defined POTENTIAL_CRASH_DAMAGE

GeekSiMo
23/07/2014, 07:29 PM
#if !defined POTENTIAL_CRASH_DAMAGE
#define POTENTIAL_CRASH_DAMAGE
#endif

maximthepain
23/07/2014, 07:40 PM
#if !defined POTENTIAL_CRASH_DAMAGE
#define POTENTIAL_CRASH_DAMAGE
#endif

The code is already that.

By the way i'm using this include in a gamemode not a filterscript.

C:\Users\Max\Desktop\FTPBackupNRP\pawno\include\ca llbacks.inc(1) : error 010: invalid function or declaration
C:\Users\Max\Desktop\FTPBackupNRP\pawno\include\ca llbacks.inc(3) : error 026: no matching "#if..."

7 First lines:

#if !defined POTENTIAL_CRASH_DAMAGE
#define POTENTIAL_CRASH_DAMAGE 55.0
#endif

#if !defined POTENTIAL_SPEED_DROP
#define POTENTIAL_SPEED_DROP 5.0
#endif

ViniBorn
23/07/2014, 10:37 PM
Maybe you can use only


#define POTENTIAL_CRASH_DAMAGE 55.0
#define POTENTIAL_SPEED_DROP 5.0

maximthepain
23/07/2014, 11:44 PM
Maybe you can use only


#define POTENTIAL_CRASH_DAMAGE 55.0
#define POTENTIAL_SPEED_DROP 5.0


I have already tried this method and yet this didn't work.