Need some tips about a command. - 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: Need some tips about a command. (
/showthread.php?tid=385442)
Need some tips about a command. -
Face9000 - 15.10.2012
Hello ladies, in my mind i got an idea to build a sort of health check command, to check if player is hp/armour cheating or just lagging. (Or lagging while cheating).
What can i add in this command?
This is what i done so far:
SetPlayerPos +20 feets (A sort of drop in air).
CreateExplosions (a random number of explosions between 5 and 10).
Tips?
Re: Need some tips about a command. -
McMuffins - 15.10.2012
They already have this command on most servers.
But if you still want I have an old thread that was used.
https://sampforum.blast.hk/showthread.php?tid=324284
Re: Need some tips about a command. -
Face9000 - 15.10.2012
I know, but i just need some tips to make this command more effective at health check(s).
Re: Need some tips about a command. -
Face9000 - 15.10.2012
Quote:
Originally Posted by belhot
I once tried to synch the player's health in the server to the player (server sided health) but it just wouldn't work because once they toggled the invulnerable mode, the hits wouldn't register. The most effective way would be to set the player's health to 97 or 98 and then make an anticheat that detects if the player health goes anywhere beyond that. It's quite easy to do.
Kind of a pseudo-code.
|
Already made a custom health anticheat and it works epicly!