View Single Post
SHIELD755
Veteran Member
Join Date: Feb 2018
Location: FROM MARVEL STUDIO
Old 11-14-2018 , 02:11   Re: Detecting JUMP+DUCK to boost yourself
Reply With Quote #4

Quote:
Originally Posted by Bugsy View Post
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 ) ) ) 

is it amx_forcejump that detect BHOP ?
__________________
SED LYF !!!
SHIELD755 is offline