SA-MP Forums Archive
"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: "foreach" (/showthread.php?tid=362322)



"foreach" - ejul - 24.07.2012

Quote:

C:\GAME\samp03e_svr_win32\Pilot.pwn(656) : error 017: undefined symbol "foreach"
C:\GAME\samp03e_svr_win32\Pilot.pwn(659) : error 017: undefined symbol "i"
C:\GAME\samp03e_svr_win32\Pilot.pwn(659) : error 017: undefined symbol "i"
C:\GAME\samp03e_svr_win32\Pilot.pwn(660) : error 017: undefined symbol "i"
C:\GAME\samp03e_svr_win32\Pilot.pwn(661) : warning 217: loose indentation
C:\GAME\samp03e_svr_win32\Pilot.pwn(661) : error 017: undefined symbol "i"
C:\GAME\samp03e_svr_win32\Pilot.pwn(664) : error 017: undefined symbol "i"
C:\GAME\samp03e_svr_win32\Pilot.pwn(667) : error 017: undefined symbol "i"
C:\GAME\samp03e_svr_win32\Pilot.pwn(66 : error 017: undefined symbol "i"
C:\GAME\samp03e_svr_win32\Pilot.pwn(672) : warning 217: loose indentation
C:\GAME\samp03e_svr_win32\Pilot.pwn(672) : error 017: undefined symbol "i"
C:\GAME\samp03e_svr_win32\Pilot.pwn(673) : warning 217: loose indentation
C:\GAME\samp03e_svr_win32\Pilot.pwn(673) : error 017: undefined symbol "i"
C:\GAME\samp03e_svr_win32\Pilot.pwn(676) : error 017: undefined symbol "i"
C:\GAME\samp03e_svr_win32\Pilot.pwn(680) : error 017: undefined symbol "i"
C:\GAME\samp03e_svr_win32\Pilot.pwn(685) : warning 217: loose indentation
C:\GAME\samp03e_svr_win32\Pilot.pwn(685) : error 017: undefined symbol "i"
C:\GAME\samp03e_svr_win32\Pilot.pwn(686) : warning 217: loose indentation
C:\GAME\samp03e_svr_win32\Pilot.pwn(687) : error 017: undefined symbol "i"
C:\GAME\samp03e_svr_win32\Pilot.pwn(692) : error 017: undefined symbol "i"
C:\GAME\samp03e_svr_win32\Pilot.pwn(695) : error 017: undefined symbol "i"
C:\GAME\samp03e_svr_win32\Pilot.pwn(696) : error 017: undefined symbol "i"
C:\GAME\samp03e_svr_win32\Pilot.pwn(699) : error 017: undefined symbol "i"
C:\GAME\samp03e_svr_win32\Pilot.pwn(701) : error 017: undefined symbol "i"
C:\GAME\samp03e_svr_win32\Pilot.pwn(704) : warning 217: loose indentation
C:\GAME\samp03e_svr_win32\Pilot.pwn(704) : error 017: undefined symbol "i"
C:\GAME\samp03e_svr_win32\Pilot.pwn(706) : error 017: undefined symbol "i"
C:\GAME\samp03e_svr_win32\Pilot.pwn(709) : error 017: undefined symbol "i"
C:\GAME\samp03e_svr_win32\Pilot.pwn(711) : error 017: undefined symbol "i"
C:\GAME\samp03e_svr_win32\Pilot.pwn(713) : error 017: undefined symbol "i"
C:\GAME\samp03e_svr_win32\Pilot.pwn(715) : error 017: undefined symbol "i"
C:\GAME\samp03e_svr_win32\Pilot.pwn(719) : error 017: undefined symbol "i"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.

Need Help...IDK what to do..


Re: "foreach" - [DOG]irinel1996 - 24.07.2012

Did you include foreach?


Re: "foreach" - ejul - 24.07.2012

yea..i have...


Re: "foreach" - [DOG]irinel1996 - 24.07.2012

May you show me how are you using it please?
Probably you have many pawno folders. And you don't have the foreach include in pawno/include.


Re: "foreach" - ejul - 24.07.2012

you mean like this...
sory if wrong....IDK all about...

Quote:

public UpdateTextdraw()
{
new szString[40];
foreach(Player, i)
{




Re: "foreach" - ejul - 24.07.2012

Take my GM..


Re: "foreach" - Stigg - 24.07.2012

Quote:
Originally Posted by ejul
Посмотреть сообщение
Take my GM..
pawn Код:
#include <foreach>
Is missing from the top of your gm.