SA-MP Forums Archive
Foreach question - 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: Foreach question (/showthread.php?tid=436083)



Foreach question - CJay9209 - 09.05.2013

Just a quick and probs dumb question. I'm looking at using foreach and was wondering if I need YSI installed for it to function. I just looked through the entire description and there's no specification that it needs it. I'm not at a computer just now so I can't just compile and test.


Re: Foreach question - Scenario - 09.05.2013

No, but foreach isn't actually supported with the latest YSI update. You should download the latest YSI and use y_iterate instead. So, instead of doing #include <foreach> you do #include <YSI\y_iterate>.


Re: Foreach question - CJay9209 - 09.05.2013

ok thanks for the clarification