Начинающий
-
Автор темы
- #1
if (g_ctx.globals.missed_shots[player->EntIndex()] == 0)
{
animstate->m_flGoalFeetYaw = math::NormalizeYaw(player->GetEyeAngles().y + 119.0f);
}
else if (g_ctx.globals.missed_shots[player->EntIndex()] == 1)
{
animstate->m_flGoalFeetYaw = math::NormalizeYaw(player->GetEyeAngles().y - 119.0f);
g_ctx.globals.missed_shots[player->EntIndex()] == 0;
}
надеюсь норм)
{
animstate->m_flGoalFeetYaw = math::NormalizeYaw(player->GetEyeAngles().y + 119.0f);
}
else if (g_ctx.globals.missed_shots[player->EntIndex()] == 1)
{
animstate->m_flGoalFeetYaw = math::NormalizeYaw(player->GetEyeAngles().y - 119.0f);
g_ctx.globals.missed_shots[player->EntIndex()] == 0;
}
надеюсь норм)