[FilterScript] Anti godmode. - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Anti godmode. (
/showthread.php?tid=217252)
Anti godmode. -
Luk_Ass - 27.01.2011
Hello. I am releasing my simple and very powerful godmode detection.
How does it work? Whenever you are shoted, you have some specific animation. If GetPlayerAnimationIndex(..); returns one of these animation = player was shoted. Then just compare health

.
Just beware of SetPlayerHealth and SetPlayerTeam.
56 lines, enjoy.
http://pastebin.com/11FP0xDe
Re: Anti godmode. -
TheYoungCapone - 27.01.2011
haha nice sup luk XD
Re: Anti godmode. -
Falcon. - 27.01.2011
Very Good ^^
Re: Anti godmode. -
Lorenc_ - 27.01.2011
This could be used for anti health hacks lol, ban the player if hes in godmode xD, nice script
Re: Anti godmode. -
California - 27.01.2011
Nice job, but this can also detect godmode if the player is desynced/lag, I'm pretty sure.
Re: Anti godmode. -
Lorenc_ - 27.01.2011
Quote:
Originally Posted by California
Nice job, but this can also detect godmode if the player is desynced/lag, I'm pretty sure.
|
Yes your partly right about that, although there could be a sync system in the next version of this.
Re: Anti godmode. -
California - 27.01.2011
Quote:
Originally Posted by Lorenc_
Yes your partly right about that, although there could be a sync system in the next version of this.
|
I'd love this and I'd definitely use it, for now, I'll be using it just to test it

.
Re: Anti godmode. -
A.Bowers - 28.01.2011
Very Nice Job!
Re: Anti godmode. -
Biesmen - 28.01.2011
Quote:
Originally Posted by California
Nice job, but this can also detect godmode if the player is desynced/lag, I'm pretty sure.
|
I wonder, could this fix the lag shoot? I mean, killing each other is hard, sometimes, when that player is lagging. Maybe this could fix that a player still loses HP if he's lagging.
Re: Anti godmode. -
Luk_Ass - 28.01.2011
Quote:
Originally Posted by Biesmen
I wonder, could this fix the lag shoot? I mean, killing each other is hard, sometimes, when that player is lagging. Maybe this could fix that a player still loses HP if he's lagging.
|
It can't. You are talking about players with high ping. Just shoot longer distance in front of them.