Quote:
Originally Posted by JkWhoSaysNi
How did you do that?
I want to do that, but I can't create GUI controls outside the GraalControl.
|
I will be delighted to show you how it works!
PHP Code:
//#CLIENTSIDE
function onCreated()
{
GraalControl.height = GUIContainer.height - 56;
new GuiControl("Hotbar_Main") {
width = screenwidth, height = 57;
x = 0, y = GUIContainer.height - height;
GUIContainer.addControl(this); // Note this line in particularly
}
}