30.03.2014, 12:17
Quote:
|
What I'd actually love to see is something like:
GetPlayerCount(); Which can also store a variable so like... GetPlayerCount(count); |
pawn Код:
GetPlayerCount(&count = 0)
{
for (new i = 0, j = MAX_PLAYERS; i != j; ++ i)
{
if (IsPlayerConnected(i))
++ count;
}
return count;
}


