31.05.2015, 23:47
Why are you returning 0, just simplify it:
pawn Код:
if(bodypart == BODY_PART_HEAD && weaponid == 34)
{
new chance = random(4);
if(chance == 3) SetPlayerHealth(playerid, 0);
}