03.01.2013, 18:07
i will try to expain it very simple. In your script (old version) the syntax is:
and it becomes (new version)
You do replace the variable_name_here with a name of the variable, it might be i, p, playerid or wharever.
Let's say you have this.
With the new syntax, it becomes
I hope that I explained very good and the point is to understand it.
PS: Did you find the missing brace?
pawn Код:
foreach(Player, variable_name_here)
pawn Код:
foreach(new variable_name_here: Player)
Let's say you have this.
pawn Код:
foreach(Player, LOL)
pawn Код:
foreach(new LOL: Player)
PS: Did you find the missing brace?