SA-MP Forums Archive
Problem with YSI and Foreach - 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: Problem with YSI and Foreach (/showthread.php?tid=414637)



Problem with YSI and Foreach - ivanVU - 10.02.2013

This is first time I see this, and I am wondering how can I solve this?

Код:
C:\Users\Ivan\Desktop\TripleX\pawno\include\YSI\y_iterate.inc(202) : fatal error 111: user error: "Old foreach.inc files are no longer compatible with YSI."



Re: Problem with YSI and Foreach - JJB562 - 10.02.2013

Try downloading the newest foreach include.
https://sampforum.blast.hk/showthread.php?tid=92679%29

Then save it into your "include" folder where your pawno is located.


Re: Problem with YSI and Foreach - Bikken - 10.02.2013

http://pastebin.com/Seseuh2x

Copy all the code in there, open PAWNO, paste it in it, save it in PAWNO/includes as foreach.inc, and don't compile it. Also, delete your old foreach.inc


Re: Problem with YSI and Foreach - ivanVU - 10.02.2013

Thanks!
rep+


Re: Problem with YSI and Foreach - Arlind222 - 22.12.2013

Didn't work for me
I get this.

C:\Users\Arlind\Desktop\samp03\pawno\include\forea ch.inc(22 : fatal error 100: cannot read from file: "YSI\internal\y_natives"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.


Re: Problem with YSI and Foreach - Konstantinos - 22.12.2013

Quote:
Originally Posted by Arlind222
Посмотреть сообщение
Didn't work for me
I get this.

C:\Users\Arlind\Desktop\samp03\pawno\include\forea ch.inc(22 : fatal error 100: cannot read from file: "YSI\internal\y_natives"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
In order to use foreach, you need to have YSI folder (library) into pawno\include folder.