23.11.2011, 14:47
pawn Код:
new players;//topo do GM
//OnPlayerConnect
players++;
new nome[24], string[60];
GetPlayerName(playerid, nome, 24);
format(string, 60,"%s conectou-se no servidor. (%d/%d)",nome, players, GetMaxPlayers());
SendClientMessageToAll(-1, string);
//OnPlayerDisconnect
players--;