Jump to content

Original HUD - position, scale, size


XFawkes

Recommended Posts

Posted

How can I get the original HUD position,scale,size etc?

I want to make a bar under the orginal hud [under the money text] but I can't find the correct position and scale which would work on all resolutions.

Anyone know the correct values?

Posted
Maybe make some GUI in GuiEditor, place it where u want ur bar to be and then get the GUI coordinates?

This method wouldn't work for all resolutions.

Posted

Ratio of HUD element and screen widths is always the same. Ratio of heights is proportional to the aspect ratio. There's no direct way to get the aspect ratio setting, but you can workaround this with a function:

getWorldFromScreenPosition 

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