Anti Health Hack - 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: Anti Health Hack (
/showthread.php?tid=313878)
Anti Health Hack -
Richie - 27.01.2012
In a cheat; s.o.b*** i noticed there is a prevent SetPlayerHealth. Is there a way to disable that cheat function in script?
Re: Anti Health Hack -
Gh05t_ - 27.01.2012
To my understanding, m0d ****** calls these functions in GTA internally. Take a look at cessil's anti-cheat tips and tricks topic,
https://sampforum.blast.hk/showthread.php?tid=220089.
Re: Anti Health Hack -
MP2 - 27.01.2012
No. You can't 'disable' it.
To check if that cheat is enabled, set their health to something, see if it was set using GetPlayerHealth, if it wasn't, ban them.
Re: Anti Health Hack -
Face9000 - 27.01.2012
How about a HP limit check?
Re: Anti Health Hack -
Snowman12 - 27.01.2012
Cessil was saying that he/she sets the players health to 99, removes all the vending machines etc.. Then checks if the health goes above 99. Or summit like that