help and its needed
#4

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.
Reply


Messages In This Thread
help and its needed - by Barnwell - 06.01.2016, 13:36
Re: help and its needed - by Barnwell - 06.01.2016, 20:11
Re: help and its needed - by saffierr - 06.01.2016, 20:20
Re: help and its needed - by lucamsx - 06.01.2016, 22:04
Re: help and its needed - by Joron - 07.01.2016, 00:06
Re: help and its needed - by lucamsx - 07.01.2016, 00:58

Forum Jump:


Users browsing this thread: 1 Guest(s)