new PlayersOnline;for(new i, p = GetMaxPlayers(); i < p; i ++) if(IsPlayerConnected(i)) PlayersOnline++;