Author Topic: How do I make an HUD from GUI element(s)?  (Read 2342 times)

I know how to use variables.
That's a very nice function you gave me, I might use it if I knew where and how.
Exactly what lead me to believe you don't actually code, anyways...

Code: [Select]
position = (getword($pref::Video::resolution,0) - [AnyNumberhere]) SPC (getword($pref::Video::resolution,1) - [GuiWidth]);

That is in the .GUI file btw for the window

Exactly what lead me to believe you don't actually code, anyways...
My first time doing anything with gui's

but thank you :)

Code: [Select]
position = (getword($pref::Video::resolution,0) - [AnyNumberhere]) SPC (getword($pref::Video::resolution,1) - [GuiWidth]);
No. Bad.
Use the correct sizing method

Can I see the code for the gui and how it is added to the PlayGui?

No. Bad.
Use the correct sizing method

Can I see the code for the gui and how it is added to the PlayGui?
He isn't sizing the gui... He is positioning it.

He isn't sizing the gui... He is positioning it.
You obviously don't know what the sizing fields do.

It's attached to the NewChatHud so I can have buttons.

I did this in my Add-on block cam. Just search it and it should pop up. Should help you figure out how to do some stuff.

It's attached to the NewChatHud so I can have buttons.
Code: [Select]
horizSizing = LOC;
vertSizing = LOC;
And you don't know how to get something into an exact position... They put the GUI in the absolute worst position possible.