SA-MP Forums Archive
foreach 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: foreach help (/showthread.php?tid=169274)



foreach help - DarkPower - 19.08.2010

How i can make this "normal" loop: for(new h = 0; h < sizeof(HouseInfo); h++) i try make this

new Iterator:Kuca<sizeof(HouseInfo)>
Foreach(Kuca, h)
{



but i get errors...Can someone help


Re: foreach help - DarkPower - 19.08.2010

bump can anyone help ?


Re: foreach help - ivex - 19.08.2010

http://forum.sa-mp.com/showthread.ph...tor#post780573

you need the newest foreach include for that like function

edit: the Pastebin is on end of the ***** post