Quote:
|
Originally Posted by 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);
}
|
Not sure if it's case sensative or not, but it should be GuiButtonCtrl, GuiTabCtrl, etc.
Also, you are not setting any properties of your tab, and where is 'Blah' defined?