Na sessão coloque:
public OnPlayerConnect(playerid){
new pName[30], string[256];
GetPlayerName(playerid, pName, 30);
format(string, 256, "%s entrou no server.", pName);
SendClientMessageToAll(0xFF0000AA ,string);
return 1;
}
Na sessão coloque:
public OnPlayerDisconnect(playerid){
new pName[30], string[256];
GetPlayerName(playerid, pName, 30);
format(string, 256, "%s saiu do server.", pName);
SendClientMessageToAll(0xFF0000AA ,string);
return 1;
}



0 comments:
Post a Comment