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



help with for - ajwar - 16.05.2011

for(new i = 0;i<MAX_BUSS; i++)

how to make this with foreach?


Re: help with for - Biesmen - 16.05.2011

Create an iterator, then do this:
pawn Код:
foreach(YourIterator, i)