12.10.2011, 11:59
pawn Код:
new players = 0, PP = GetMaxPlayers();
for(new i; i <= PP; i++)
{
if(!IsPlayerConnected(i)) continue;
players++;
}
new string[30];
format(string, 27, "Tem %d/%d players online", players, PP);
SendClientMessage(playerid, 0x1E90FF99, string);