Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. IClientEntity* pLocal = hackManager.pLocal();
  2. if (GetAsyncKeyState(VK_SHIFT))
  3. {
  4. static int iChoked = -1;
  5. iChoked++;
  6.  
  7. if (iChoked < 1)
  8. {
  9. bSendPacket = false;
  10.  
  11. pCmd->tick_count += 10;
  12. pCmd->command_number += 7 + pCmd->tick_count % 2 ? 0 : 1;
  13.  
  14. pCmd->buttons |= pLocal->GetMoveType() == IN_BACK;
  15. pCmd->forwardmove = pCmd->sidemove = 0.f;
  16. }
  17. else
  18. {
  19. bSendPacket = true;
  20. iChoked = -1;
  21.  
  22. Interfaces::Globals->frametime *= (pLocal->GetVelocity().Length2D()) / 1.f;
  23. pCmd->buttons |= pLocal->GetMoveType() == IN_FORWARD;
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement