28.09.2010, 22:25
Em OnPlayerConnect:
Em OnPlayerDisconnect:
pawn Code:
new string[128];
new nomeentrou[MAX_PLAYER_NAME];
GetPlayerName(playerid,nomeentrou,MAX_PLAYER_NAME);
format(string,sizeof string,"%s entrou no servidor.",nomeentrou);
SendClientMessageToAll(COR,string);
pawn Code:
new string[128];
new nomesaiu[MAX_PLAYER_NAME];
GetPlayerName(playerid,nomesaiu,MAX_PLAYER_NAME);
format(string,sizeof string,"%s saiu do servidor.",nomesaiu);
SendClientMessageToAll(COR,string);