Place this under the cvar Code:
cvar.jump
and Code:
cvar.duck
Code:
if (cvar.autoduck && me.pmFlags & FL_ONGROUND) { if(gAimbot.target!=-1) { usercmd->buttons |= IN_DUCK; } }
Code:
if (cvar.autojump && me.pmFlags & FL_ONGROUND) { if(gAimbot.target!=-1) { usercmd->buttons |= IN_JUMP; } }
------------------------
version 2
Posted: Sat Apr 03, 2004 7:57 pm Post subject:
--------------------------------------------------------------------------------
why not just:
[CODE]
if (cvar.autoduck && me.pmFlags & FL_ONGROUND && gAimbot.target!=-1) [ usercmd->buttons |= IN_DUCK; }
dotn have to make 2 ifs