Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (checkpoint)
- {
- ReadProcessMemory(handle, (LPCVOID)0xBAA410, &wID, sizeof(int), 0);
- ReadProcessMemory(handle, (LPCVOID)0xB6F5F0, &gpoint, 4, 0);
- if (GetAsyncKeyState(VK_F9)
- {
- DWORD cpon;
- DWORD xpos1;
- DWORD ypos1;
- DWORD zpos1;
- float xpos1;
- float ypos1;
- float zpos1;
- ReadProcessMemory(handle, (LPCVOID)0xC7DEEA, &cpon, 4, 0);
- if (cpon > 0)
- {
- DWORD pmtrx1 = cpon + 0x14; // location pointer of player XYZ
- ReadProcessMemory(handle, (LPCVOID)cpon, &cpon, 4, 0);
- xpos1 = cpon + 0x30; // x of checkmark
- ypos1 = cpon + 0x34; // y of checkmark
- zpos1 = cpon + 0x38; // z of checkmark
- if (cpon > 0)
- {
- //daici nu ma mai descurc
- WriteProcessMemory(handle, (LPVOID)(0xB6F5F0), (LPVOID)Z), 2, 4);
- WriteProcessMemory(handle, (LPVOID)(0xB6F5F0), (LPVOID)(0x14, 0x30), 2, 4);
- WriteProcessMemory(handle, (LPVOID)(0xB6F5F0), (LPVOID)(0x14, 0x34), 2, 4);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement