Errors with my #define 's - 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: Errors with my #define 's (
/showthread.php?tid=411096)
Errors with my #define 's -
Fizz - 27.01.2013
Hello.
So, in my gamemode I added this code:
Код:
#define GiveZaiatWeapon GivePlayerWeapon
#define GiveZaiatMoney GivePlayerWeapon
#define ResetZaiatWeapons ResetPlayerWeapons
I did this because my gamemode uses ____Zaiat____, but it needs to be set as ____Player____ to work with my filterscript.
Without these define's it compiles with 0 errors. but with them, the problem I am having is that I get a bunch of compiling errors when I use the defines posted above.
Here is the pawn compiling errors:
And also, here is my FILTERSCRIPT that I'm trying to get it to work with. THIS IS NOT MY GAMEMODE, and I would rather not post my gamemode.
Any idea what I'm doing wrong?
Re: Errors with my #define 's -
Fizz - 28.01.2013
Bump?