♛
-
Автор темы
- #1
C++:
if (vars.antiaim.enable) {
float Desync = csgo->local->GetDSYDelta() / 100 * csgo->desync_angle + 30.0f;
float MM = 1.10f;
float m_flDesyncAmount = 58.f;
float side = vars.antiaim.inverter->active ? 0 : 1;
if (side)
Desync = -Desync;
if (csgo->cmd->buttons & IN_DUCK)
MM *= 3;
if (csgo->cmd->tick_count % 2)
MM = -MM;
static float LBY = 0;
if (interfaces.global_vars->curtime < LBY && csgo->cmd->sidemove < 4 && csgo->cmd->sidemove - 4)
csgo->cmd->sidemove = MM;
if (!send_packet)
{
if (interfaces.global_vars->curtime >= LBY && csgo->local->GetVelocity().Length() < 4)
{
csgo->cmd->viewangles.y += 180.f;
LBY = interfaces.global_vars->curtime + 0.22f;
}
else
{
csgo->cmd->viewangles.y += Desync;
}
}
m_flDesyncAmount = Desync / 2;
csgo->cmd->viewangles.y -= 180.f;
}