SA-MP Forums Archive
Strange Error? [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: Strange Error? [REP+] (/showthread.php?tid=311463)



Strange Error? [REP+] - seanny - 16.01.2012

Hello, I am getting this error, I am unsure why?

Код:
C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\pawno\include\YSI\y_iterate.inc(179) : fatal error 111: user error: "Old foreach.inc files are no longer compatible with YSI."


Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
pawn Код:
#include <a_samp>
#include <YSI/y_ini>
#include <YSI/y_commands>
pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
    return 1;
}
//Here is line 179
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    return 1;
}



Re: Strange Error? [REP+] - sabretur - 16.01.2012

Update your foreach.inc:

https://sampforum.blast.hk/showthread.php?tid=92679


Re: Strange Error? [REP+] - Gh05t_ - 16.01.2012

A backslash '\' most notably relates to directories.

pawn Код:
#include <YSI\y_ini>
#include <YSI\y_commands>



Re: Strange Error? [REP+] - thimo - 16.01.2012

Update your foreach