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.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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?

mtaubluascripter.png

My skype: skiper964

I helped you? Help me! ^^

Help me bro! ^^

Posted

1024 * 768 is my resolution, and the other stuff is the size, position.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Of course, else it wouldn't make any sense.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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...