Error when compile gamemode - 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 when compile gamemode (
/showthread.php?tid=548897)
Error when compile gamemode -
Surabaya - 03.12.2014
I get error when i'm compile gamemode

please help me
Re: Error when compile gamemode -
AzaMx - 03.12.2014
Why did you disable the includes? Try remove the
which on the top of your gamemode
Re: Error when compile gamemode -
Surabaya - 03.12.2014
Wow, thanks.
Re: Error when compile gamemode -
Surabaya - 03.12.2014
I have 1 error in 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: Error when compile gamemode -
AzaMx - 03.12.2014
get the latest foreach
Re: Error when compile gamemode -
Pottus - 03.12.2014
I would suggest getting YSI then just include y_iterate which is foreach.
#include <YSI\y_iterate>
Re: Error when compile gamemode -
Surabaya - 03.12.2014
AzaMx : Can you give me link for download the latest foreach ?.
Re: Error when compile gamemode -
AzaMx - 03.12.2014
here is
https://sampforum.blast.hk/showthread.php?tid=92679
Re: Error when compile gamemode -
Surabaya - 03.12.2014
I get same error
Код:
Z:\Downloads\Programs\A\foreach.inc_test.txt(198) : 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: Error when compile gamemode -
AzaMx - 03.12.2014
delete all your foreach.inc, you kinda change everythings.. why the heck there are test.txt...? just keep it foreach.inc