Advertisement
Guest User

Untitled

a guest
Jul 6th, 2015
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1.  
  2.  
  3. if (clock() - GameVorhandenTimer > 100)
  4. {
  5.  
  6. GameVorhandenTimer = clock();
  7. IstGameVorhanden = false;
  8. hGameWindow = FindWindow(NULL, LGameWindow);
  9.  
  10. if (hGameWindow)
  11. {
  12. GetWindowThreadProcessId(hGameWindow, &dwProzessId);
  13. if (dwProzessId != 0)
  14. {
  15. hProzessHandle = OpenProcess(PROCESS_ALL_ACCESS, FALSE, dwProzessId);
  16.  
  17.  
  18.  
  19. if (hProzessHandle == INVALID_HANDLE_VALUE || hProzessHandle == NULL)
  20. {
  21. GameStatus = "No Access on the Process";
  22. IstGameVorhanden = true;
  23. }
  24. else
  25. {
  26. GameStatus = "CSGO.exe found and haxxxxed";
  27.  
  28.  
  29.  
  30. Client = GetModuleBase("client.dll", dwProzessId); // Client.dll geholt
  31.  
  32. }
  33. }
  34. else
  35. {
  36.  
  37. GameStatus = " ProzessId not found";
  38. }
  39. }
  40. else
  41. {
  42. GameStatus = " CounterStrike : Global Offensive is not running";
  43. }
  44. if (UpdateNextStart || clock() - timeSinceLastUpdate > 5000)
  45. {
  46.  
  47. DelaysinKonsole();
  48. mouse4mouse5();
  49. schriftzug();
  50. UpdateNextStart = false;
  51. timeSinceLastUpdate = clock();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement