OldSchoolHack

Registrieren / Anmelden Deutsch

[AssaultCube] BHOP by CCodex

icon Thema: [AssaultCube] BHOP by CCodex

Anmeldungsdatum: Nov 2010

Beiträge: 181

CPP Code:
  1.  
  2. #include <iostream>
  3. #include <windows.h>
  4.  
  5. using namespace std;
  6.  
  7. void hop()
  8. {
  9. bool down=false;
  10.  
  11. while(true)
  12. {
  13. if(GetKeyState(VK_SPACE)||
  14. (GetKeyState(0x57) && GetKeyState(VK_SPACE))||
  15. (GetKeyState(VK_SPACE) && GetKeyState(0x57)) )
  16. {
  17. if(down)
  18. {
  19. Sleep(500);
  20. keybd_event(VK_SPACE, 0, KEYEVENTF_EXTENDEDKEY | 0, 0); //Space
  21. keybd_event(VK_SPACE, 0, KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP, 0); //Space End
  22.  
  23. down=false;
  24. }else{
  25. down=true;
  26. }
  27. }
  28. }
  29. }
  30.  
  31.  
  32. int main()
  33. {
  34. HWND win;
  35.  
  36. while(win == 0)
  37. {
  38. win = FindWindow("AssaultCube", 0);
  39. }
  40. cout << "Assault Cube gefunden" << endl;
  41.  
  42. hop();
  43.  
  44. system("PAUSE");
  45. return 0;
  46. }
  47.  


__________________

Ich liebe Kekse

Um Links zu sehen, musst du dich registrieren

CHEAT CODING IS NOT A CRIME