19.07.2016, 09:36
foreach is an include. It's the recommended way of looping through online players.
But you don't have to use it.
Replace it with this:
or with this, if you're not using 0.3.7:
But you don't have to use it.
Replace it with this:
Код:
for (new i, j = GetPlayerPoolSize(); i <= j; i++)
Код:
for (new i = 0; i < MAX_PLAYERS; i++)