Thread: function...
View Single Post
  #17  
Old 05-22-2007, 11:20 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by JkWhoSaysNi View Post
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 screenwidthheight 57;
    
0GUIContainer.height height;
      
    
GUIContainer.addControl(this);  // Note this line in particularly
  
}

__________________
Follow my work on social media post-Graal:Updated august 2025.

Last edited by xXziroXx; 05-23-2007 at 02:13 AM..
Reply With Quote