SA-MP Forums Archive
gangzone help - 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: gangzone help (/showthread.php?tid=457818)



gangzone help - ThaCrypte - 13.08.2013

Код:
error 029: invalid expression, assumed zero
error 029: invalid expression, assumed zero
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
It doesnt matter where i put the line, i keep getting these errors


pawn Код:
Zone[Zone] = GangZoneCreate(-421.8750, 1485.3515, -243.1640, 1637.6953);



Re: gangzone help - verlaj - 13.08.2013

what is Zone[Zone] ? i think [] are used for strings for new stuffs


Re: gangzone help - ThaCrypte - 13.08.2013

pawn Код:
//Turfs

new CP[30];
new Zone[30];

new tCheck[30];
new zDefine[MAX_PLAYERS];
new UnderAttack[30];
new timer[MAX_PLAYERS][30];

#define Zone 0
:/ can't figure it out, the tutorial say's it has to be like this, so yeah.