Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // JUST CAUSE 2 FUNCTION SCRIPT HOOK/CALL
- // Either use this to call your own, or hook/stop current calls...
- // By: kiwidog
- typedef int (__cdecl* tExecute)(char* command, PBYTE Unknown_00, void* unused);
- tExecute oExecute = (tExecute)(0x4E88B0);
- // Usage:
- if (GetAsyncKeyState(VK_F4) & 0x8000)
- oExecute("gui.hud.show", (PBYTE)(0xE1FE9C), NULL);
- if (GetAsyncKeyState(VK_F5) & 0x8000)
- oExecute("gui.hud.hide", (PBYTE)(0xE1FE9C), NULL);
Advertisement
Add Comment
Please, Sign In to add comment