Callbacks include giving me errors
#1

I'm having a error please help !

pawn Код:
callbacks.inc(1) : error 010: invalid function or declaration
callbacks.inc Line 1:
pawn Код:
#if !defined POTENTIAL_CRASH_DAMAGE
Reply
#2

#if !defined POTENTIAL_CRASH_DAMAGE
#define POTENTIAL_CRASH_DAMAGE
#endif
Reply
#3

Quote:
Originally Posted by GeekSiMo
Посмотреть сообщение
#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:
pawn Код:
#if !defined POTENTIAL_CRASH_DAMAGE
#define POTENTIAL_CRASH_DAMAGE 55.0
#endif

#if !defined POTENTIAL_SPEED_DROP
#define POTENTIAL_SPEED_DROP 5.0
#endif
Reply
#4

Maybe you can use only

pawn Код:
#define POTENTIAL_CRASH_DAMAGE 55.0
#define POTENTIAL_SPEED_DROP 5.0
Reply
#5

Quote:
Originally Posted by ViniBorn
Посмотреть сообщение
Maybe you can use only

pawn Код:
#define POTENTIAL_CRASH_DAMAGE 55.0
#define POTENTIAL_SPEED_DROP 5.0
I have already tried this method and yet this didn't work.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)