Quote:
Originally Posted by Bugsy
Add this and then do the scenario's that you are trying to detect to get the appropriate conditions? It's going to be tough with your code being in prethink.
PHP Code:
server_print( "[Old Jump=%d] [Jump=%d] [Old Duck=%d] [Duck=%d] [OnGround=%d]" , !!(biOldButtons & IN_JUMP) , !!(biButtons & IN_JUMP) , !!(biOldButtons & IN_DUCK) , !!(biOldButtons & IN_DUCK) , !!(biOldFlags & FL_ONGROUND) )
Or this?
PHP Code:
if ( ( biButtons & IN_JUMP && !( biButtons & IN_DUCK ) && biOldButtons & IN_DUCK && biOldFlags & FL_ONGROUND ) ||
( ( biOldButtons & IN_JUMP && biButtons & IN_JUMP ) && ( biOldButtons & IN_DUCK && biButtons & IN_DUCK ) && !( biFlags & FL_ONGROUND ) ) )
|
I Just did with prethink because the original bhop plugin uses this, but i Will Also try with CmdStart and post the results
Quote:
Originally Posted by SHIELD755
is it amx_forcejump
|
No It isn't
__________________