SA-MP Forums Archive
foreach.inc No longer compatible with YSI - 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.inc No longer compatible with YSI (/showthread.php?tid=404196)



foreach.inc No longer compatible with YSI - DoctorRapist - 02.01.2013

Hi, When I compile a gamemode it gives me a error saying:

C:\Users\XXX\Desktop\samp03e_svr_R2_win32\pawno\in clude\YSI\y_iterate.inc(197) : fatal error 111: user error: "Old foreach.inc files are no longer compatible with YSI."

What should I do?


Re: foreach.inc No longer compatible with YSI - Threshold - 02.01.2013

Update your foreach and YSI includes?


Re: foreach.inc No longer compatible with YSI - Edvin - 02.01.2013

http://forum.sa-mp.com/showthread.ph...compatible+YSI


Re: foreach.inc No longer compatible with YSI - DoctorRapist - 02.01.2013

I still get the same rrors, I've updated foreach.inc and YSI


Re: foreach.inc No longer compatible with YSI - InfiniTy. - 02.01.2013

Instead of including foreach include ysi\y_iterate


Re: foreach.inc No longer compatible with YSI - DoctorRapist - 02.01.2013

Can I have the download link for y_iterate


Re: foreach.inc No longer compatible with YSI - InfiniTy. - 02.01.2013

Quote:
Originally Posted by DoctorRapist
Посмотреть сообщение
Can I have the download link for y_iterate
Well don't you have YSI includes ? If you don't use YSI then delete it as Edvin said.. if you do use it y_iterate should already be there in the YSI folder.


Re: foreach.inc No longer compatible with YSI - DoctorRapist - 02.01.2013

I use YSI, But foreach is no longer compatible with y_iterate.


Re: foreach.inc No longer compatible with YSI - InfiniTy. - 02.01.2013

Quote:
Originally Posted by DoctorRapist
Посмотреть сообщение
I use YSI, But foreach is no longer compatible with y_iterate.
Well as i said don't use
#include <foreach>
use
#include <ysi\iterate>


Re: foreach.inc No longer compatible with YSI - DoctorRapist - 02.01.2013

Quote:

#include <a_samp>
#include <streamer>
#include <a_zones>
#include <foreach>
#include <yom_buttons>
#include <djson>
#include <progress>
#include <YSI\y_timers>
#include <ZCMD>
#include <sscanf2>
#include <removebuilding_fix>
#include <fire2>
#include <ysi\iterate>

That's includes, I've placed iterate their. I've compiled it, still the same problems