Advertisement
Guest User

Untitled

a guest
Feb 25th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. void Bhop::doBhop() {
  2.  
  3. DWORD localplayer = memory.Read<DWORD>(Client + Offsets::dwLocalPlayer);
  4.  
  5. int LocalFlag = memory.Read<int>(localplayer + Offsets::flags);
  6.  
  7. int veloc = memory.Read<int>(localplayer + Offsets::m_vecVelocity);
  8.  
  9. if (veloc && LocalFlag == 257) {
  10.  
  11. memory.Write<int>(Client + Offsets::dwForceJump, 5);
  12. Sleep(100);
  13. memory.Write<int>(Client + Offsets::dwForceJump, 4);
  14. }
  15. else {
  16. memory.Write<int>(Client + Offsets::dwForceJump, 4);
  17. }
  18.  
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement