Advertisement
captmicro

Untitled

Mar 27th, 2010
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. LPVOID getHealthAddress()
  2. {
  3. //Add 001D7B88 to base address of client.dll
  4. HMODULE lib = LoadLibraryA("D:\\Steam\\steamapps\\lancenator\\half-life 2\\hl2\\bin\\client.dll");
  5. HMODULE hHandle = GetModuleHandle("client.dll");
  6. return hHandle + 0x001D7B88;
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement