Advertisement
pvlad1337

Untitled

Mar 17th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. char* pVehicle = (char*)((*pActor) + 0x46C);
  2. if (*pVehicle != 1)
  3. {
  4. DWORD* pMtrx1 = (DWORD*)((*pActor) + 0x14);//matrix of player actor
  5. float* xPos1 = (float*)((*pMtrx1) + 0x30);//player actor X position
  6. float* yPos1 = (float*)((*pMtrx1) + 0x34);//player actor Y position
  7.  
  8. float* CxPos1 = (float*)(0xB6F9CC);//camera X position
  9. float* CyPos1 = (float*)(0xB6F9D0);//camera Y position
  10.  
  11. float xPoint = *CxPos1;
  12. float yPoint = *CyPos1;
  13.  
  14. int* keyt = (int*)0xB7347A;//Left mouse key
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement