switch ( shots_missed[idx] % 3 ) { case 0: csgo->animstate->m_goalfeet_yaw = math::yaw(csgo->player->m_eye_yaw().y + 60.f); break; case 1: csgo->animstate->m_goalfeet_yaw = math::yaw(csgo->player->m_eye_yaw().y + 180.f); break; case 2: csgo->animstate->m_goalfeet_yaw = math::yaw(csgo->player->m_eye_yaw().y - 60.f); break; default: break; }