[Help] Foreach Errors - 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 Errors (
/showthread.php?tid=553179)
[Help] Foreach Errors -
Arxalan - 28.12.2014
Hello , i am facing some problems with a script downloaded from sa-mp.com When i extract it and try to compile to GM it gives me alot of errors and when i check those lines there is "foreach" command on that line.
One of the Example is Following"
C:\Users\Arsalan\Desktop\JaKe\gamemodes\blank.pwn( 2350) : error 017: undefined symbol "YSI_g_MinigamerS"
C:\Users\Arsalan\Desktop\JaKe\gamemodes\blank.pwn( 2350) : error 017: undefined symbol "YSI_g_MinigamerA"
Line of the Error : foreach(_Minigamer, i) MinigameWinner( i );
I talked about this error with my friends and the owner of this GM . But they are saying that it runs with them correctly.
I also update my foreach.ini today.
Re: [Help] Foreach Errors -
Aliassassin123456 - 28.12.2014
Check your includes!
Use the last foreach version!
Download last
foreach and extract it into includes directory.
Re: [Help] Foreach Errors -
Arxalan - 28.12.2014
I already donwloaded the latest version from there today but still it isn't working.
Re: [Help] Foreach Errors -
Aliassassin123456 - 28.12.2014
Can you give me the download link of script ?
+ Check YSI Includes.
Re: [Help] Foreach Errors -
Arxalan - 28.12.2014
https://sampforum.blast.hk/showthread.php?tid=552677
Re: [Help] Foreach Errors -
Aliassassin123456 - 28.12.2014
GameMode Compiled With My Pawno Without Any Error Or Warning,
i say it again ! This is your includes and your compiler problem!
Re: [Help] Foreach Errors -
Arxalan - 28.12.2014
Can you please send me your includes
Re: [Help] Foreach Errors -
Aliassassin123456 - 28.12.2014
Loling!
Click
Re: [Help] Foreach Errors -
Arxalan - 28.12.2014
Problem Solved . Got the reason of the errors