Jump to content

Get OnScreen Cordinates


direstraits

Recommended Posts

direstraits

Hi.

I need to get some onscreen coordinates (X,Y) for a cleo mod. I'm using widescreen by ThirteenAG, for playing in 1366x768. I need the radar cordinates for a spedometer. Is there any method to get the coordinates?

Link to comment
Share on other sites

Untested codes.

 

Read position and size in GTA SA scale (640 x 448 px)

 

 

0A8D: read_memory 0@ size 4 vp false store_to 0@  // float* pRadarPosX0A8D: read_memory 0x5834d4 size 4 vp false store_to 0@  // float RadarPosX
0A8D: read_memory 0@ size 4 vp false store_to 0@  // float* pRadarPosY0A8D: read_memory 0x583500 size 4 vp false store_to 0@  // float RadarPosY
0A8D: read_memory 0@ size 4 vp false store_to 0@  // float* pRadarSizeX0A8D: read_memory 0x5834c2 size 4 vp false store_to 0@  // float RadarSizeX
0A8D: read_memory 0@ size 4 vp false store_to 0@  // float* pRadarSizeY0A8D: read_memory 0x5834f6 size 4 vp false store_to 0@  // float RadarSizeY
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.