OnPlayerTakeDamage, weaponid 54 issue
#1

Hello, I have a problem with weaponid 54 called in OnPlayerTakeDamage callback. When player fell on the ground from a height then he dies. I want take damage from him, for example only 5 hp.
Reply
#2

Are you using GivePlayerWeapon? Or WEAPON_COLLISION? You cannot use GivePlayerWeapon
Reply
#3

https://sampforum.blast.hk/showthread.php?tid=615646 Has info directly relating to this instance.

https://sampforum.blast.hk/showthread.php?tid=606430 Has info relating to all other aspects of stopping damage.
Reply
#4

Thank you all for replies, I have idea to make player "god", I'll create textdraw to hide the real health bar and then player will has always 1000 hp or something.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)