How to add better_pi to your hack

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

How to add better_pi to your hack

楼层直达
作弊辅导员_h

ZxID:1019634

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

#define g3_PI 3.141592653589793238462643383279502884197169399375

then clien.cpp
add this on top: Code:

#ifndef g3_PI
#define g3_PI 3.141592653589793238462643383279502884197169399375
#endif

then find this: Code:

void HUD_PlayerMove

under: Code:

float yaw = a->angles[1] * 0.01745;

add this: Code:

switch (cvar.better_pi)
  {
  case 1:
      yaw = a->angles[1] * (3.141592653589793238462643383279502884197169399375 / 180.0);
      break;
  default:
      yaw = a->angles[1] * (g3_PI / 180.0);
  }

cvar.cpp: Code:
 
REGISTER_CVAR_INT( better_pi ,0)

cvar.h: Code:
 
int better_pi;
密码被盗,请联系cscheat取回
« 返回列表
发帖 回复