Hello, i have an anticheat system for damage fake on my server (in OnPlayerGiveDamage).
But when a player have FIGHT_STYLE_KNEEHEAD sometimes get kicked when he give a loot of dmg. Bdw, i have this condition (amount != 54.12), but the damage is 54.12 and he still get kicked.
https://i.imgur.com/DjZE7Zf.png
How can i fix?
take a look here: https://pastebin.com/iXWZxyug
max dmg for fist I have 10.0 + 2.5 in OnPlayerGiveDamage
But when a player have FIGHT_STYLE_KNEEHEAD sometimes get kicked when he give a loot of dmg. Bdw, i have this condition (amount != 54.12), but the damage is 54.12 and he still get kicked.
https://i.imgur.com/DjZE7Zf.png
How can i fix?
take a look here: https://pastebin.com/iXWZxyug
max dmg for fist I have 10.0 + 2.5 in OnPlayerGiveDamage