XFawkes Posted June 27, 2013 Share Posted June 27, 2013 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? Link to comment
iMr.3a[Z]eF Posted June 28, 2013 Share Posted June 28, 2013 Why dont you search in community for huds? Link to comment
flashman Posted June 28, 2013 Share Posted June 28, 2013 Maybe make some GUI in GuiEditor, place it where u want ur bar to be and then get the GUI coordinates? Link to comment
xXMADEXx Posted June 28, 2013 Share Posted June 28, 2013 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. Link to comment
DiSaMe Posted June 28, 2013 Share Posted June 28, 2013 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 Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now