void HVH::SendFakeFlick() {
if (g_cl.m_didFakeFlick) {
g_cl.ticksToShift = 14;
g_cl.ignoreallcmds = true;
g_cl.m_didFakeFlick = false;
g_cl.m_fake_flick_side = !g_cl.m_fake_flick_side;
}
}
void HVH::fake_flick()
{
if (!g_input.GetKeyState(g_menu.main.antiaim.fake_flick.get()) || !g_cl.m_local || !g_cl.m_local->alive())
return;
if (g_cl.m_local->m_vecVelocity().length_2d() < 15.f) {
if (g_csgo.m_cl->m_choked_commands == 0) {
if (g_cl.m_anim_time < g_cl.m_body_pred) {
if (g_cl.lastShiftedCmdNr != g_csgo.m_cl->m_last_outgoing_command) {
g_cl.m_cmd->m_view_angles.y += 113.f;
if (g_cl.m_local->m_vecVelocity().length_2d() < 11.f) {
static bool switcher = false;
g_cl.m_cmd->m_side_move = switcher ? -13.37f : 13.37f;
switcher = !switcher;
}
g_cl.m_didFakeFlick = true;
}
}
}
}
}