Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LPVOID getHealthAddress()
- {
- //Add 001D7B88 to base address of client.dll
- HMODULE lib = LoadLibraryA("D:\\Steam\\steamapps\\lancenator\\half-life 2\\hl2\\bin\\client.dll");
- HMODULE hHandle = GetModuleHandle("client.dll");
- return hHandle + 0x001D7B88;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement