C++:
void Resolver::ResolveAngles(Player* player, LagComp::LagRecord_t* record) {
AimPlayer* data = &g_aimbot.m_players[player->index() - 1];
int side;
CUserCmd cmd;
if (!record->m_bDidShot) {
if (g_cfg[XOR("cheat_mode")].get<int>() == 1) {
switch (data->m_missed_shots % 2) {
case 0:
record->m_angEyeAngles.x = player->m_angEyeAngles().x = - 90.f;
case 0:
record->m_angEyeAngles.x = player->m_angEyeAngles().x = 90.f;
break;
default:
break;
}
}
if(missedshots == 1)
{
record->m_angEyeAngles.x = player->m_angEyeAngles().x = 15.f;
}
else{
record->m_angEyeAngles.x = player->m_angEyeAngles().x = - 15.f;
}
ResolveStand(data, record);
}