22.03.2012, 22:59
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
new VictimName[24], KillerName[24], Msg[128];
GetPlayerName(playerid, VictimName, sizeof(VictimName));
GetPlayerName(killerid, KillerName, sizeof(KillerName));
format(Msg, 128, "{FF0000}You've killed %s!", VictimName);
SendClientMessage(killerid, 0xFFFFFFFF, Msg);
format(Msg, 128, "{FF0000}%s has killed you!",KillerName);
SendClientMessage(playerid, 0xFFFFFFFF, Msg);
return 1;
}