18.11.2017, 16:16
There are better alternatives than looping 1000 times. The correct way would be i < MAX_PLAYERS and not i <= MAX_PLAYERS. However, you can replace:
with:
or better yet, use foreach (y_iterate).
---
I assume you pass "u" as format specifier again in SetTimeEx for KickPlayer. Find it/these parts and replace with "d" or "i".
pawn Код:
for (new i = 0; i <= MAX_PLAYERS; i++)
pawn Код:
for(new i = 0, j = GetPlayerPoolSize(); i <= j; i++)
---
I assume you pass "u" as format specifier again in SetTimeEx for KickPlayer. Find it/these parts and replace with "d" or "i".