30.06.2016, 12:33
Array indexes start at 0 and so player IDs. "i" needs to be 0 instead of -1.
And you keep calling GetPlayerPoolSize function, store it to a variable:
The length on strcmp would be 7 but you can remove it completely as well.
And you keep calling GetPlayerPoolSize function, store it to a variable:
pawn Код:
for (new i = 0, j = GetPlayerPoolSize(); i <= j; i++)