Jump to content

Resolution mem-add


Recommended Posts

hi friends,

i am working on a cleo mod for VC & need help with it,

i have to draw some texture during it,

the texture should be in the bottom_right corner of the screen,

so, i need some memory addresses, by which i can read the Width & height of current resolution,

or any other way of doing it,

Edited by Ashwin the new boy
Link to comment
Share on other sites

I have already found the resolution for my own HUD.


short *ResolutionX =(short*)0x9B48E4;

short *ResolutionY =(short*)0x9B48E8;



Link to comment
Share on other sites

You'd say int or DWORD if you look at the memory addresses. In addition, why are you using pointers?

Link to comment
Share on other sites

Are those int or DWORD? I assumed it was short because the 2 bytes after those values were empty I think.


I used pointers for my dll and just copied & posted directly that resolution addy

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.