30.03.2014, 11:44
Quote:
What I'd actually love to see is something like:
GetPlayerCount(); Which can also store a variable so like... GetPlayerCount(count); |
pawn Код:
GetPlayerCount()
{
for(new i; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
count++;
}
return 1;
}
pawn Код:
Iter_Count(Player);