Quote:
Originally Posted by SickAttack
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); }
|
I just want it to not deal any damage because he missed the shot, with a sniper it will deal 100% damage