Pawno Blockage - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Pawno Blockage (
/showthread.php?tid=78602)
Pawno Blockage -
Rks25 - 21.05.2009
Is this possible(follow example):
i do
#ENABLE A 1
#ENABLE B 1
But if they both are enabled, pawno sends me message: cannot compile both are compiling at same time. Compiling canceled
Re: Pawno Blockage -
.::: Ecko :::. - 21.05.2009
amm..well,it depends what u wanna do whit them...
meybe try defineing it..
Ecko
Re: Pawno Blockage -
Rks25 - 21.05.2009
what i want to do, is prevent that if both things are defined, it won't compile. Sometimes i don't remember to // it.
Re: Pawno Blockage -
Joske_Vermeulen - 21.05.2009
pawn Код:
#define A 1
#define B 1
#if A == B
#error Compiling Aborted!
#else
//your whole script here
#endif
this should do (swapped something by accident)
Re: Pawno Blockage -
Rks25 - 21.05.2009
thanks a lot !!