SA-MP Forums Archive
Quick question: about defining - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Quick question: about defining (/showthread.php?tid=291216)



Quick question: about defining - whitedragon - 18.10.2011

i have code like this in my GameMode
pawn Код:
#if defined DEBUG_LEVEL & DEBUG_LEVEL > 3
But it will give me: error 017: undefined symbol "DEBUG_LEVEL".
Why it end on defined? Why it give me undefined? it won't go ahead that...


Re: Quick question: about defining - Luis- - 18.10.2011

Add,
pawn Код:
#define DEBUG_LEVEL
.