27.10.2014, 12:47
I have just scripted an Anti-Bunny Hop System.
It is working really great, Except that it sometimes detects wrong.
For example, I pressed shift and right click (Shield Blocking), the Anti-Cheat will detect me for bunny hopping.
Is there anyway to fix this?
Code for detecting the bunny-hop
It is working really great, Except that it sometimes detects wrong.
For example, I pressed shift and right click (Shield Blocking), the Anti-Cheat will detect me for bunny hopping.
Is there anyway to fix this?
Code for detecting the bunny-hop
pawn Код:
if ((newkeys & KEY_JUMP) && !(oldkeys & KEY_JUMP))
{
//Codes here - Not gonna share it with you since it has nothing to do with the problem
}