07.12.2009, 15:46
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
new pname;
pname = GetPlayerName(playerid);
SendClientMessageToAll(COLOR_RED,"%s left the fun",pname);
return 1;
}
Also these:
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SendClientMessageToAll(COLOR_ORANGE,"%s killed %s", killerid, playerid);
SpawnPlayer(playerid);
return 1;
}