SA-MP Forums Archive
Error. - 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: Error. (/showthread.php?tid=603429)



Error. - Progamerisrael1 - 23.03.2016

I tried to save my filterscript and I got this error:
Old foreach.inc files are no longer compatible with YSI.

What I've to do guys?
Please help me


Re: Error. - introzen - 23.03.2016

The error tells you what to do...

Old foreach includes is no longer compatible with your YSI library.

Download the latest version of foreach and put in your include directory.


Re: Error. - AndySedeyn - 23.03.2016

To add to Introzen's reply, you can also get the standalone include instead:
https://sampforum.blast.hk/showthread.php?tid=570868


Re: Error. - Progamerisrael1 - 23.03.2016

I downloaded and I got the same error


Re: Error. - AndySedeyn - 23.03.2016

Do you have multiple pawn compilers on your PC? If that is the case then make sure you put it in the right directory. It has to be in the /include directory of the compiler you use.

If your include is at:
Код:
C:\Users\YOURUSERNAME\Documents\ProjectName\pawno\include\
Then you should use pawno.exe from (or redirect the work dir to the this path):
Код:
C:\Users\YOURUSERNAME\Documents\ProjectName\pawno\



Re: Error. - Progamerisrael1 - 23.03.2016

Quote:
Originally Posted by AndySedeyn
Посмотреть сообщение
Do you have multiple pawn compilers on your PC? If that is the case then make sure you put it in the right directory. It has to be in the /include directory of the compiler you use.

If your include is at:
Код:
C:\Users\YOURUSERNAME\Documents\ProjectName\pawno\include\
Then you should use pawno.exe from (or redirect the work dir to the this path):
Код:
C:\Users\YOURUSERNAME\Documents\ProjectName\pawno\
Fixed! THANK YOU BROTHA'!