12.09.2011, 20:45
Procure por OnPlayerConnect e bote:
Coloque no OnPlayerDisconnect:
no final do GM
[...].
pawn Код:
new mess[100];
format(mess,sizeof(mess),"%s Entrou no servidor (:",GetPName(playerid));
printf(mess);
SendClientMessageToAll(VerdeAmarelo,mess);
pawn Код:
new mess[100];
format(mess,sizeof(mess),"%s saiu do servidor :(",GetPName(playerid));
printf(mess);
SendClientMessageToAll(VerdeAmarelo,mess);
pawn Код:
GetPName(playerid){
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
return name;
}