Health Hack check not working
#3

Quote:
Originally Posted by PrO.GameR
Посмотреть сообщение
A simple printf("Current: %f, Old: %f",health,oldhealth[i]); usually helps, I suspect that you are not setting oldhealth when player joins server, it is 0.0 by default, therefore if player gets hit, and doesn't die, his health is always higher than 0, so he gets banned
Solution: put oldhealth as 100 when player's spawn
Yup, we realized there is a timer setting health to 100 without setting the variable. GG
Reply


Messages In This Thread
Health Hack check not working - by Aerotactics - 23.10.2015, 23:00
Re: Health Hack check not working - by PrO.GameR - 23.10.2015, 23:27
Re: Health Hack check not working - by Aerotactics - 23.10.2015, 23:37
Re: Health Hack check not working - by Pottus - 23.10.2015, 23:54

Forum Jump:


Users browsing this thread: 1 Guest(s)