Advertisement
Guest User

bhoptut.cpp

a guest
Nov 19th, 2019
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. #include <iostream>
  2. #include "Globals.h"
  3. #include "Functions.h"
  4. #include "csgo.h"
  5. #define fl_duckGround 263
  6. #define fl_nrmlGround 257
  7.  
  8. int main()
  9. {
  10. if (AttachProcess("csgo.exe"))
  11. {
  12. client = GetModule("client_panorama.dll");
  13.  
  14. while(!GetAsyncKeyState(VK_DELETE)
  15. {
  16. localPlayer = rpm<DWORD>(client + csgo::dwLocalPlayer);
  17. if(GetAsyncKeyState(VK_SPACE)
  18. {
  19. int pFlags = rpm<int>(localPlayer + csgo::m_fFlags);
  20.  
  21. vector3 pVel = rpm<vector3>(localPlayer + csgo::m_vecVelocity);
  22. int pMag = pVel.x + pVel.y + pVel.z;
  23.  
  24. if(pFlags == fl_nrmlGround || pFlags == fl_duckGround)
  25. {
  26. if(pMag != 0)
  27. {
  28. wpm<int>(6, client + csgo::dwForceJump);
  29. }
  30. }
  31. }
  32. Sleep(1);
  33. }
  34. }
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement