SA-MP Forums Archive
errors in compile - 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: errors in compile (/showthread.php?tid=492390)



errors in compile - AhmedMohamed - 03.02.2014

I downloaded Call Of Duty TDM from http://*******/utMn4j

when I compile the game mode it give me these errors :
Код:
C:\Users\Ahmed Hassan\Desktop\Server\gamemodes\COD6v3.pwn(4687) : error 017: undefined symbol "foreach"
C:\Users\Ahmed Hassan\Desktop\Server\gamemodes\COD6v3.pwn(4687) : error 029: invalid expression, assumed zero
C:\Users\Ahmed Hassan\Desktop\Server\gamemodes\COD6v3.pwn(4687) : error 017: undefined symbol "Player"
C:\Users\Ahmed Hassan\Desktop\Server\gamemodes\COD6v3.pwn(4687) : fatal error 107: too many error messages on one line
4687:
Код:
foreach(new i: Player)



AW: errors in compile - ReD_HunTeR - 03.02.2014

make
Код:
 foreach(new i: Player)
to
Код:
for(new i = 0; i < MAX_PLAYERS; i++)



Re: errors in compile - AhmedMohamed - 03.02.2014

still same errors


Re: errors in compile - AhmedMohamed - 03.02.2014

never mind it fixed thank you BlackBomb and REP+