bool forward = fabsf(math::normalize_yaw(player->m_angEyeAngles().y - math::normalize_yaw(math::calculate_angle
(g_ctx.local()->m_vecOrigin(), player->m_vecOrigin()).y - 180.f))) < 90.f;
// сам ресик...
if (g_ctx.globals.missed_shots[idx] == 0)
{
if (forward) {
FreestandSide[idx] *= -1;
}
else
animstate->m_flGoalFeetYaw = math::normalize_yaw(player->m_angEyeAngles().y - 90.f * FreestandSide[idx]);
}