How to check OnPlayerTakeDamage calling - 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: How to check OnPlayerTakeDamage calling (
/showthread.php?tid=620882)
How to check OnPlayerTakeDamage calling -
NeXoR - 04.11.2016
Hey guys, I am testing my health hack anticheat and I am having an issue
I have tested it with my friend (cheating scripter) and I told him to tog on his GODMODE, he really did not get banned but he was using his godmode, I asked him how did he build his godmode and he told me that he doesn't receieve OnPlayerTakeDamage basically, how can I prevent such thing ?
Re: How to check OnPlayerTakeDamage calling -
Logic_ - 04.11.2016
Set The player team to something and then check if the player team is something, don't send the damage.