Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <Windows.h>
- // macros
- // vector class
- // Ent class
- // offsets
- // hack settings
- int WINAPI HackThread(HMODULE hModule) {
- // get our data
- while (!exit) {
- if (firing) {
- // do calc
- // normalize
- // set angles
- }
- // fix up
- }
- // uninject
- return 0;
- }
- BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved){
- if (ul_reason_for_call == DLL_PROCESS_ATTACH)
- CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread, hModule, 0, 0);
- return TRUE;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement