SA-MP Forums Archive
[Help] error 017: undefined symbol "i" - 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: [Help] error 017: undefined symbol "i" (/showthread.php?tid=349717)



___________ - Djole1337 - 09.06.2012

___________


Re: [Help] error 017: undefined symbol "i" - JhnzRep - 09.06.2012

If you use foreach then do this
pawn Code:
foreach(Player, i)
If you don't you need to create a loop
pawn Code:
for(new i = 0; i < MAX_PLAYERS; i++)



Re: [Help] error 017: undefined symbol "i" - Andregood - 09.06.2012

Code:
if(IsPlayerAdmin(playerid))



Re: [Help] error 017: undefined symbol "i" - Djole1337 - 09.06.2012

___________