Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- #include <stdio.h>
- #include <Windows.h>
- DWORD *ingame = (DWORD*)0xBASEPOINTER; // Ingame Pointer
- void Health()
- {
- if (*ingame)
- {
- if (GetAsyncKeyState(VK_NUMPAD5)) //Wait for Button
- {
- DWORD *hp = (DWORD*)0xMainPointer; //MainPointer
- DWORD *hp2 = (DWORD*)((*hp) + 0xOFFSET); // Offset
- *(int*)hp2 = (int)800; // Int, Cha, Double, Flout
- }
- }
- }
- void Kevlar()
- {
- if (GetAsyncKeyState(VK_NUMPAD2))
- {
- DWORD *kev = (DWORD*)0x509B74;
- DWORD *kev2 = (DWORD*)((*kev) + 0xFC);
- *(int*)kev2 = (int)200;
- }
- }
- void Nade()
- {
- if (GetAsyncKeyState(VK_NUMPAD0))
- {
- DWORD *nade = (DWORD*)0x509B74;
- DWORD *nade2 = (DWORD*)((*nade) + 0x158);
- *(int*)nade2 = (int)20;
- }
- }
- void HThread()
- {
- for (;;)
- {
- Nade();
- Kevlar();
- Health();
- Sleep(21); //prevent for overloading the cpu
- }
- }
- BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved)
- {
- if (dwReason == DLL_PROCESS_ATTACH)
- {
- CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HThread, 0, 0, 0); //create the hackthread
- MessageBoxA(0, "Integrate Successful!!", "Successful", 0); //create the Successful Message
- }
- return TRUE;
- }
Advertisement
Add Comment
Please, Sign In to add comment