Thread: Gui Scripting
View Single Post
  #4  
Old 08-09-2006, 01:19 AM
killerogue killerogue is offline
Registered Omega
killerogue's Avatar
Join Date: Apr 2006
Location: United States
Posts: 1,920
killerogue is on a distinguished road
Send a message via AIM to killerogue Send a message via MSN to killerogue
Ok. Now I've gotten very far with this GUI script with help from Warcaptain, Master Storm and Kaidenn. But everytime I set the GUIButtonProfile. My menu gets messed up.

PHP Code:
//#CLIENTSIDE
function onCreated(){
  
addGUIControls();
}

function 
addGUIControls(){
  new 
GuiWindowCtrl("SH_Information"){
    
profile "GuiWindowProfile";
    
extent "450 300";
    
position "100 100";
    
canmaximize 1;
    
canminizmize 0;
    
canclose 1;
  new 
GUIButtonCtrl("News"){
  
profile "GuiButtonProfile";
  
extent "400 300";
  
position "45 45";
   }
  }
  new 
GUITabCtrl(Hirings_Tab){
  }
  new 
GUIScrollCtrl(){
  
profile "GuiScrollProfile";
  }
  
GraalControl.addControl(Blah);

__________________


REMEMBER, IF YOU REP ME, LEAVE A NAME!

Quote:
Originally Posted by haunter View Post
Graal admins don't die. They go to hell and regroup.
Quote:
Originally Posted by Inverness View Post
Without scripters, your graphics and levels wouldn't do anything but sit there and look pretty.
Reply With Quote