23.10.2015, 23:37
Quote:
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 |