10.08.2011, 14:59
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
new string[128];
new reasonname[32];
GetWeaponName(reason, reasonname, sizeof(reasonname));
format(string, sizeof(string), "* Player %s [ID: %d] killed player %s [ID: %d] with: %s", PlayerName(killerid), killerid, PlayerName(playerid), playerid, reasonname);
SendClientMessageToAll(-1, string);
return 1;
}