Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <Windows.h>
- DWORD WINAPI InitializationZ(LPVOID)
- {
- while (true)
- {
- if (GetAsyncKeyState(VK_ADD))
- {
- *(float*)0x009386DC += 10.0f;
- while (GetAsyncKeyState(VK_ADD)) { Sleep(100); }
- }
- Sleep(10);
- }
- return 0;
- }
- BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
- {
- switch (ul_reason_for_call)
- {
- case DLL_PROCESS_ATTACH:
- CreateThread(0, 0, InitializationZ, 0, 0, 0);
- break;
- }
- return TRUE;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement