pivke Posted February 21, 2011 Share Posted February 21, 2011 Hello, I would like to know how to get the x, y and z-position of Tommy. The reference says, that you can find the coordinates on this address: x: 0x94AD28 + 0x34 y: 0x94AD28 + 0x38 z: 0x94AD28 + 0x3C But when i Want to read out the addresses with C++, i only get 0-values. Im not a beginner in programming, so this won't be my mistake. I just think that I have a thinking-problem with the memory-addresses. How can I understand where the "real"-coordinates are? And sorry for my bad english, im german. Thank's so far! Link to comment https://gtaforums.com/topic/470249-gta-vc-player-position-x-y-z/ Share on other sites More sharing options...
DK22Pac Posted February 23, 2011 Share Posted February 23, 2011 Try to add those offsets to actor's struct base adress. I have experemented with actor's rot&pos matrix in GTA3 (those offsets are same there) few months ago, as I remember, it works fine for me. Link to comment https://gtaforums.com/topic/470249-gta-vc-player-position-x-y-z/?do=findComment&comment=1060351501 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now