SA-MP Forums Archive
Anti god mode. - 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 god mode. (/showthread.php?tid=610183)



Anti god mode. - Unrea1 - 20.06.2016

Hello friends, I was justly finishing my system anti cheat Life & vest, but I remembered that the ****** has a function to be "god mode" which does not go down life (OnPlayerTakeDamage not called ...), then I got and I failed to think how to finish that part of anticheat, any ideas ?.

I guess in the callback must be stored OnPlayerWeaponShot life and compare it later, but it is better to see some suggestions to complete that part of the system, greetings.


Re: Anti god mode. - Luicy. - 20.06.2016

Use server sided health.
Onplayertakeda,age reduce the Int


Re: Anti god mode. - XVlaDX - 20.06.2016

Could do what Meller suggested, but you could also assign a PVar to the individual utilizing god mode and put a check in your AC to break in the event of the PVar being present(so that you don't get false positives with people who have Server Sided God Mode).