Advertisement
Guest User

Untitled

a guest
Jan 17th, 2020
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. if (c_config::get().fake_make == 1)
  2. {
  3. float to_break = 0.f;
  4.  
  5.  
  6. if (GetKeyState(c_config::get().desync_switch_bind))
  7. to_break = MaxDelta;
  8. else
  9. to_break = -MaxDelta;
  10. if (!Globals::bSendPacket && Globals::LocalPlayer->AnimState())
  11. {
  12. Globals::pCmd->viewangles.y = to_break;
  13. }
  14. //while testing on hvh i noticed than you are slowwalking desync works perefectly, so lets do a little movement while standing
  15. if (Globals::LocalPlayer->GetFlags() & FL_ONGROUND && Globals::pCmd->sidemove < 3 && Globals::pCmd->sidemove > -3)
  16. {
  17.  
  18. static bool switch_ = false;
  19. if (switch_)
  20. Globals::pCmd->sidemove = 2;
  21. else
  22. Globals::pCmd->sidemove = -2;
  23. switch_ = !switch_;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement