04.12.2012, 17:04
Maybe a better way than looping.
pawn Код:
new gConnectedPlayers = 0;
public OnPlayerConnect(playerid)
{
++gConnectedPlayers;
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
--gConnectedPlayers;
return 1;
}