Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (c_config::get().fake_make == 1)
- {
- float to_break = 0.f;
- if (GetKeyState(c_config::get().desync_switch_bind))
- to_break = MaxDelta;
- else
- to_break = -MaxDelta;
- if (!Globals::bSendPacket && Globals::LocalPlayer->AnimState())
- {
- Globals::pCmd->viewangles.y = to_break;
- }
- //while testing on hvh i noticed than you are slowwalking desync works perefectly, so lets do a little movement while standing
- if (Globals::LocalPlayer->GetFlags() & FL_ONGROUND && Globals::pCmd->sidemove < 3 && Globals::pCmd->sidemove > -3)
- {
- static bool switch_ = false;
- if (switch_)
- Globals::pCmd->sidemove = 2;
- else
- Globals::pCmd->sidemove = -2;
- switch_ = !switch_;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement