SA-MP Forums Archive
[Help]Error 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: [Help]Error foreach (/showthread.php?tid=572418)



[Help]Error foreach - astanalol - 28.04.2015

Hello
What is This Error ?
PHP код:
C:\Documents and Settings\Administrator\Desktop\NVCNR\NVCNR\NVCNR\pawno\include\YSI\y_iterate.inc(203) : fatal error 111user error"Old foreach.inc files are no longer compatible with YSI." 
Quote:

C:\Documents and Settings\Administrator\Desktop\NVCNR\NVCNR\NVCNR\p awno\include\YSI\y_iterate.inc(203) : fatal error 111: user error: "Old foreach.inc files are no longer compatible with YSI."

how To Fix it ?


Re: [Help]Error foreach - Antoniohl - 28.04.2015

Update YSI and foreach, and try..


Re: [Help]Error foreach - Pottus - 28.04.2015

Lets take a look at what happens when this error occurs.

pawn Код:
#if defined _inc_foreach
        #if !defined _FOREACH_CUR_VERSION
            // Foreach exists, but it's an old version - don't try use this
            // system or the variables will conflict.
            #error "Old foreach.inc files are no longer compatible with YSI."
            #endinput
        #endif
What it means is you have included the foreach standalone and also y_iterate you should only be including y_iterate.


Re: [Help]Error foreach - astanalol - 28.04.2015

Quote:
Originally Posted by Pottus
Посмотреть сообщение
Lets take a look at what happens when this error occurs.

pawn Код:
#if defined _inc_foreach
        #if !defined _FOREACH_CUR_VERSION
            // Foreach exists, but it's an old version - don't try use this
            // system or the variables will conflict.
            #error "Old foreach.inc files are no longer compatible with YSI."
            #endinput
        #endif
What it means is you have included the foreach standalone and also y_iterate you should only be including y_iterate.
delete foreach.inc ? or what u mean


Re: [Help]Error foreach - Jimmy0wns - 28.04.2015

Find and remove:
PHP код:
#include <foreach> 



Re: [Help]Error foreach - astanalol - 28.04.2015

Quote:
Originally Posted by Jimmy0wns
Посмотреть сообщение
Find and remove:
PHP код:
#include <foreach> 
after i delete it still this problems :/
Quote:

F:\New Folder (2)\ffffffff\pawno\include\YSI\y_iterate.inc(203) : fatal error 111: user error: "Old foreach.inc files are no longer compatible with YSI."




Re: [Help]Error foreach - astanalol - 28.04.2015

Help Please!!


Re: [Help]Error foreach - astanalol - 29.04.2015

Bump


Re: [Help]Error foreach - fuckingcruse - 29.04.2015

First thing you cannot bump before 24 hrs , and update your includes


Re: [Help]Error foreach - arlindi - 29.04.2015

http://forum.sa-mp.com/attachment.ph...3&d=1339499118

This Will help you