12.04.2009, 18:35
Will this stock function i made work?
Thanks!
pawn Код:
stock CountPlayers()
{
new count = 0;
for (new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
count++;
}
}
return count;
}