SA-MP Forums Archive
Help error pawn - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help error pawn (/showthread.php?tid=233682)



Help error pawn - Inaro95 - 02.03.2011

Hello. Help error pawn

Quote:

201: redefinition of constant/macro (symbol "foreach(%2,%1)")

line
Код:
#define foreach(%2,%1) 		for(new %1 = 0; %1 < GetMaxPlayers(); %1++) if(IsPlayerConnected(%1) && !IsPlayerNPC(%1))



Re: Help error pawn - Mean - 02.03.2011

Meaning that you already have the foreach defined, delete that #define and it will be fine.


Re: Help error pawn - [M.A]Angel[M.A] - 02.03.2011

Topic is locked


Re: Help error pawn - HyperZ - 02.03.2011

Quote:
Originally Posted by [M.A]Angel[M.A]
Посмотреть сообщение
Topic is locked


Are you ok?