08.07.2012, 01:06
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
new
string[64],
pname[24];
GetPlayerName(playerid, pname, sizeof(pname));
format(string, sizeof(string), "%s (ID: %d) has died (reason: %d).", pname, playerid, reason);
return SendClientMessageToAll(0xFFFF00FF, string); // yellow
}