Jump to content

Coordinates below money


Recommended Posts

Posted

Hi,

I want to add something below money, something in GUI, but the problem is, I can't get the coordinates right for every resolution. Is there any calculation for it? It needs to be just below the money.

Thanks in advance.

Posted

Hi there, i had this problem some weeks ago, but with help of the forums i've solved it, i'm using this code to make it perfect on every resolution.

x,y = guiGetScreenSize() 
guiCreateProgressBar((750/1024)*x, (170/768)*y, (232/1024)*x, (40/768)*y,false) 

This will create a progress bar under "money" in the normal GTA HUD.

Posted
Hi there, i had this problem some weeks ago, but with help of the forums i've solved it, i'm using this code to make it perfect on every resolution.
x,y = guiGetScreenSize() 
guiCreateProgressBar((750/1024)*x, (170/768)*y, (232/1024)*x, (40/768)*y,false) 

This will create a progress bar under "money" in the normal GTA HUD.

750/1024 or 170/768 what numbers are?

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...