Ro#8347 Posted October 28, 2019 Share Posted October 28, 2019 Hi im working on my own version of gta vice city multiplayer and i really want to know how to get the ped position the player's using the memory address and how could i create a ped? I used the wiki of gta vc memory address but i couldn't find what i needed. Any help you give makes me happy. Link to comment Share on other sites More sharing options...
gta.bullet Posted October 31, 2019 Share Posted October 31, 2019 (edited) #define PLAYER_POINTER 0x94AD28 typedef struct{ float x; float y; float z; } Vector3; Vector3 getPlayerPosition(){ Vector3 position; position.x = *(float*)(*(DWORD*) PLAYER_POINTER) + 0x34); position.y = *(float*)(*(DWORD*) PLAYER_POINTER) + 0x38); position.z = *(float*)(*(DWORD*) PLAYER_POINTER) + 0x3c); return position; } Edited October 31, 2019 by gta.bullet Link to comment 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