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



Foreach error - Surabaya - 03.12.2014

I have 1 error in my foreach
Код:
Z:\Downloads\Programs\WilRez\pawno\include\foreach.inc.txt(213) : error 001: expected token: "#endif", but found "-end of file-"
Код:
 // Foreach is newer.
			#undef _inc_y_iterate
            #define _FOREACH_NO_TEST
            #include <YSI\y_iterate>
            #endinput
        #endif
    #endif
#endif



Re: Foreach error - AzaMx - 03.12.2014

I have post it, go to your old thread


Re: Foreach error - Galletziz - 03.12.2014

Your file have a .txt format, replace it with .inc without .txt, first and looks if it works.


Re: Foreach error - Surabaya - 03.12.2014

Okay