-
Автор темы
- #1
vader.tech fakeflick ported for supremacy
C++:
void HVH::FakeFlick() {
if (g_menu.main.antiaim.fake_flick.get() && g_input.GetKeyState(g_menu.main.antiaim.fake_flick_key.get())) {
auto localPlayer = g_cl.m_local;
if (!localPlayer || !localPlayer->alive())
return;
if (localPlayer->m_vecVelocity().length_2d() < 14.f) {
static bool FlickCheck = false;
static bool FlickCheckSide = false;
static bool FlickCheckSide2 = false;
static bool MicroMoveSide = false;
*g_cl.m_packet = !(g_cl.m_cmd->m_tick % 2 == 0);
if (g_cl.m_cmd->m_tick % 2 == 0) {
if (FlickCheck) {
FlickCheckSide2 = !FlickCheckSide2;
g_cl.m_cmd->m_view_angles.y -= FlickCheckSide2 ? 160 : -160;
FlickCheck = false;
if (g_cl.m_cmd->m_forward_move == 0) {
MicroMoveSide = !MicroMoveSide;
g_cl.m_cmd->m_forward_move = MicroMoveSide ? 13.37 : -13.37;
}
return;
}
if (g_cl.m_cmd->m_tick % 8 == 0) {
FlickCheck = true;
FlickCheckSide = !FlickCheckSide;
if (g_cl.m_cmd->m_forward_move == 0) {
MicroMoveSide = !MicroMoveSide;
g_cl.m_cmd->m_forward_move = MicroMoveSide ? 13.37 : -13.37;
}
g_cl.m_cmd->m_view_angles.y += FlickCheckSide ? -160 : 160;
return;
}
}
else if (g_cl.m_cmd->m_forward_move == 0) {
static bool retard = false;
retard = !retard;
g_cl.m_cmd->m_forward_move = retard ? 1.1 : -1.1;
}
}
}
}
Последнее редактирование: