06.01.2016, 22:04
https://sampwiki.blast.hk/wiki/OnPlayerTakeDamage
Check if weaponid is 0 (fist, at least i hope this is what you meant) and give the player (do it by getting actual player's health + damage taken) the amount of lost health/armour.
I think you need to check player's animation to prevent health loss from jumping.
Check if weaponid is 0 (fist, at least i hope this is what you meant) and give the player (do it by getting actual player's health + damage taken) the amount of lost health/armour.
I think you need to check player's animation to prevent health loss from jumping.