Little error - 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: Little error (
/showthread.php?tid=437989)
---------- -
K3nX - 18.05.2013
----------
---------- -
K3nX - 18.05.2013
----------
AW: Little error -
HurtLocker - 18.05.2013
what is the gTeam variable?
---------- -
K3nX - 18.05.2013
----------
---------- -
K3nX - 18.05.2013
----------
Re: Little error -
Threshold - 18.05.2013
First of all, you need to give a value to TEAM_ARMY and TEAM_CIA... you cannot compare the value of one variable to another variable that has no given value...
pawn Код:
#define TEAM_ARMY 0
#define TEAM_CIA 1
Simply add a value for TEAM_ARMY and TEAM_CIA after the #define as shown above. Where TEAM_ARMY = 0, and TEAM_CIA = 1.