How to add autojump/autoduck to your hack

社区服务
高级搜索
猴岛论坛CSGO反恐精英CS作弊器交流讨论How to add autojump/autoduck to your hack
发帖 回复
倒序阅读 最近浏览的帖子最近浏览的版块
0个回复

How to add autojump/autoduck to your hack

楼层直达
作弊辅导员_h

ZxID:1019634

等级: 元老
定做作弊器
举报 只看楼主 使用道具 楼主   发表于: 2007-07-25 0
client.cpp
find this: Code:

if (cvar.jump  && (usercmd->buttons & IN_JUMP) && !(me.pmFlags & FL_ONGROUND)) usercmd->buttons &= ~IN_JUMP;

replace all with this: Code:

if (cvar.jump  && (usercmd->buttons & IN_JUMP) && !(me.pmFlags & FL_ONGROUND)) usercmd->buttons &= ~IN_JUMP;
      if (cvar.autojump && me.pmFlags & FL_ONGROUND)
      {
        if (target!=-1)
        {
            usercmd->buttons |= IN_JUMP;
        }
      }
      if (cvar.duck && !(me.pmFlags & FL_ONGROUND)  && me.pmVelocity[2]>0)  usercmd->buttons |= IN_DUCK;
      if (cvar.autoduck && me.pmFlags & FL_ONGROUND)
      {
        if (target!=-1)
        {
            usercmd->buttons |= IN_DUCK;
        }
      }

cvar.cpp: Code:

REGISTER_CVAR_INT( autojump ,0)
REGISTER_CVAR_INT( autoduck ,0)

cvar.h: Code:

int autojump;
int autoduck;
密码被盗,请联系cscheat取回
« 返回列表
发帖 回复