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;