[Help] Foreach - 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: [Help] Foreach (
/showthread.php?tid=288039)
[Help] Foreach -
Pharrel - 06.10.2011
Idk why when i use the include foreach (just including without use any functions) my GM dont show the errors and warnings in compilation and when i try open the server shows this message...
Код:
Script[gamemodes/new.amx]: Run time error 6: "Invalid instruction"
Using 0.3d RC3-2
Re: [Help] Foreach -
TheLazySloth - 06.10.2011
Wasn't foreach made only for 0.3c?
https://sampforum.blast.hk/showthread.php?tid=92679
Re: [Help] Foreach -
Pharrel - 06.10.2011
i tried in 0.3c and happens the same
Re: [Help] Foreach -
TheLazySloth - 06.10.2011
"check your server.cfg and make sure there is a folder called GameModes in the main folder and it has the gamemode's amx file that you specified in the server.cfg"
- I searched your problem on SA-MP search and this is what I got.
Re: [Help] Foreach - XFlawless - 06.10.2011
You are missing a brace for an array or array is overflowing.
Re: [Help] Foreach -
Pharrel - 06.10.2011
You're right flawless... i just found the missing brace... thanks a lot!