SA-MP Forums Archive
[need help]Foreach.inc and YSI [Rep+] - 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: [need help]Foreach.inc and YSI [Rep+] (/showthread.php?tid=497346)



[need help]Foreach.inc and YSI [Rep+] - Zicka - 26.02.2014

Hello everyone,
I got problem with Foreach.inc and YSI. When I clicked compile it said that I need YSI.incs I downloaded it and then when I compiled it it says:Old foreach.inc files are no longer compatible with YSI. I downloaded new one foreach and removed the old one and then when I compile:
Код:
fatal error 100: cannot read from file: "foreach"
When I placed in include folder both of foreach.incs(old and new one) it again says that foreach.inc files are no longer compatible with YSI. Please help me!


Re: [need help]Foreach.inc and YSI [Rep+] - iThePunisher - 26.02.2014

make sure you have the new include and
do this at your gamemode
pawn Код:
#include <foreach>
P.s that error usually happens when you got more than one pawno folder


Re: [need help]Foreach.inc and YSI [Rep+] - Ada32 - 26.02.2014

you have ysi? just #include <y_iterate>


Re: [need help]Foreach.inc and YSI [Rep+] - Zicka - 26.02.2014

Ada32, I included it put same thing happens, it cannot read from foreach.inc!
iThePunisher, I have foreach included in my gamemode how to figure out if I have some other pawno on my PC?


Re: [need help]Foreach.inc and YSI [Rep+] - Equuuuin0X - 26.02.2014

Listen to me.

you download the include, place it on pawno < include
open pawno folder where you put the includes in the include folder, then open pawno.exe

go open the script, re-compile, done.


Re: [need help]Foreach.inc and YSI [Rep+] - Misiur - 26.02.2014

If you have YSI (whole pack) downloaded and in your includes folder, use
pawn Код:
#include <YSI\y_iterate>



Re: [need help]Foreach.inc and YSI [Rep+] - Zicka - 26.02.2014

I placed all required includes I need, I also add #include <YSI\y_iterate>. But still same thing! Please suggest me something else.