SA-MP Forums Archive
YSI problem - 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: YSI problem (/showthread.php?tid=650485)



YSI problem - C0oL3r - 28.02.2018

Hey, i downloaded latest version of ysi and after i put all the files in folder include compiler it will crash everytime, and if i comment #include <foreach> it will not crash, how can i fix that? i need foreach


Re: YSI problem - kingmk - 28.02.2018

Use. y_iterate.

Код:
foreach(Player, i)
{

}
will become

Код:
 
foreach(new i : Player)
{

}