Advertisement
Guest User

Untitled

a guest
Jun 21st, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. if (checkpoint)
  2. {
  3. ReadProcessMemory(handle, (LPCVOID)0xBAA410, &wID, sizeof(int), 0);
  4. ReadProcessMemory(handle, (LPCVOID)0xB6F5F0, &gpoint, 4, 0);
  5.  
  6.  
  7. if (GetAsyncKeyState(VK_F9)
  8. {
  9. DWORD cpon;
  10. DWORD xpos1;
  11. DWORD ypos1;
  12. DWORD zpos1;
  13. float xpos1;
  14. float ypos1;
  15. float zpos1;
  16.  
  17. ReadProcessMemory(handle, (LPCVOID)0xC7DEEA, &cpon, 4, 0);
  18.  
  19.  
  20.  
  21. if (cpon > 0)
  22. {
  23. DWORD pmtrx1 = cpon + 0x14; // location pointer of player XYZ
  24. ReadProcessMemory(handle, (LPCVOID)cpon, &cpon, 4, 0);
  25.  
  26. xpos1 = cpon + 0x30; // x of checkmark
  27. ypos1 = cpon + 0x34; // y of checkmark
  28. zpos1 = cpon + 0x38; // z of checkmark
  29. if (cpon > 0)
  30. {
  31. //daici nu ma mai descurc
  32. WriteProcessMemory(handle, (LPVOID)(0xB6F5F0), (LPVOID)Z), 2, 4);
  33. WriteProcessMemory(handle, (LPVOID)(0xB6F5F0), (LPVOID)(0x14, 0x30), 2, 4);
  34. WriteProcessMemory(handle, (LPVOID)(0xB6F5F0), (LPVOID)(0x14, 0x34), 2, 4);
  35.  
  36. }
  37.  
  38. }
  39.  
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement