Old foreach.inc files are no longer compatible with YSI.
#7

Quote:
Originally Posted by Dwane
Посмотреть сообщение
I've changed the syntax of your script to the new few days ago. But if you need to fix it by yourself, just paste the gamemode into a notepad and use CTRL + F and inside the box "foreach". Any part of code which is like this
pawn Код:
foreach(Player, i)
should be
pawn Код:
foreach(new i : Player)
i is the variable, it may be "p" or "playerid", so it should be
pawn Код:
foreach(new p : Player)
or
pawn Код:
foreach(new playerid : Player)
instead.
I didn't understand the last 2 what do i have to do with them?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)