19.05.2011, 18:57
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
if(GetPlayerWeapon(playerid) != /*MUDE*/ && GetPlayerWeapon(playerid) != /*MUDE*/)
{
if(GetPVarInt(playerid, "Headshotted") == 1)
{
SetPVarInt(playerid, "Headshotted", 0);
new string[256];
new pname[MAX_PLAYER_NAME];
GetPlayerName(killerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), " O(A) jogador(a) %s acertou sua cabeзa! Vocк morreu na hora!", pname);
SendClientMessage(playerid,COLOR_BRIGHTRED, string);
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), " Vocк acertou a cabeзa do(a) jogador(a) %s! Matou ele(a) na hora!", pname);
SendClientMessage(killerid,COLOR_HEADGREEN, string);
return 1;
}
return 1;
}
return 1;
}