Problem with YSI and Foreach
#1

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."
Reply
#2

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.
Reply
#3

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
Reply
#4

Thanks!
rep+
Reply
#5

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.
Reply
#6

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)