06.10.2014, 23:39
Desculpe-me errei o nome dos parвmetros.
pawn Код:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid, bodypart)
{
if(bodypart == 9)
{
SetPlayerHealth(damagedid, 0);
SendClientMessage(damagedid, -1, "Vocк levou um head shot.");
SendClientMessage(playerid, -1, "Vocк deu um head shot");
}
return 1;
}