health anti cheat
#1

Hi,

What is the best way do health anti cheat without false reports? now i do in second timer, check if player have less hp than variable i write to variable that value, and simple if health have more than variable player use health hacks. In command i set variable and use setplayerhealth, But sometimes there is check GetPlayerHealth > healthvariable, sometimes kick no using cheats, i self get that..
Reply
#2

Set their health to 99.0 or so on, and if health ever goes to 100.0, then detect it. Or for unlimited health, use weapon_config.inc, or create your own custom damage system.
Reply
#3

You need to store the health in a variable and compare it to the game health.

If the game health is more than the saved one player is cheating.
If the game health is lower that means player is damaged, you need to update your saved var, (equal to the game health)

Also be careful about ven machines.
Reply
#4

Yes i have disabled ven machines, i'am comparing variables, but still sometimes player is reporting as cheater, i don't know how could get hp more than variable
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)