SA-MP Forums Archive
OnPlayerWeaponShoot - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: OnPlayerWeaponShoot (/showthread.php?tid=618648)



OnPlayerWeaponShoot - MerryDeer - 08.10.2016

Hi,

When player press esc, and player is shooting to him, when he back he can died instantly even hp not changed, and with health hacks it's get bugged, for ex how getplayerhealth can return - values? i get -6.8 health...


Re: OnPlayerWeaponShoot - iLearner - 08.10.2016

Didn't understand your question honestly.


Re: OnPlayerWeaponShoot - SickAttack - 08.10.2016

Use OnPlayerGiveDamage.


Re: OnPlayerWeaponShoot - MerryDeer - 08.10.2016

No, i mean no callbacks.. Just when shoot to afk player, i mean when press esc, he loose hp, but when back it's bugged, with health get, and no cheats is getting ban for hp hacks