Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (clock() - GameVorhandenTimer > 100)
- {
- GameVorhandenTimer = clock();
- IstGameVorhanden = false;
- hGameWindow = FindWindow(NULL, LGameWindow);
- if (hGameWindow)
- {
- GetWindowThreadProcessId(hGameWindow, &dwProzessId);
- if (dwProzessId != 0)
- {
- hProzessHandle = OpenProcess(PROCESS_ALL_ACCESS, FALSE, dwProzessId);
- if (hProzessHandle == INVALID_HANDLE_VALUE || hProzessHandle == NULL)
- {
- GameStatus = "No Access on the Process";
- IstGameVorhanden = true;
- }
- else
- {
- GameStatus = "CSGO.exe found and haxxxxed";
- Client = GetModuleBase("client.dll", dwProzessId); // Client.dll geholt
- }
- }
- else
- {
- GameStatus = " ProzessId not found";
- }
- }
- else
- {
- GameStatus = " CounterStrike : Global Offensive is not running";
- }
- if (UpdateNextStart || clock() - timeSinceLastUpdate > 5000)
- {
- DelaysinKonsole();
- mouse4mouse5();
- schriftzug();
- UpdateNextStart = false;
- timeSinceLastUpdate = clock();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement