[Help]Error foreach
Hello
What is This Error ?
PHP код:
``` C:\Documents and Settings\Administrator\Desktop\NVCNR\NVCNR\NVCNR\pawno\include\YSI\y_iterate.inc(203) : fatal error 111: user 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 ?
Update YSI and foreach, and try..
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.
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
Find and remove:
PHP код:
``` #include <foreach>  ```
Quote:
 Originally Posted by Jimmy0wns Find and remove: PHP код: ``` #include   ```
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."