Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   profile=GuiBlueProfile; not working (https://forums.graalonline.com/forums/showthread.php?t=70370)

michael7849 11-25-2006 04:29 AM

profile=GuiBlueProfile; not working
 
okay i am making a gui and for some reason the profile=GuiBlueProfile; isnt working it jstu makes it all black? also please read my pms i sent you.. anyone else go ahead if u nkow this answer please tell me..

Gambet 11-25-2006 04:56 AM

Quote:

Originally Posted by michael7849 (Post 1246890)
okay i am making a gui and for some reason the profile=GuiBlueProfile; isnt working it jstu makes it all black? also please read my pms i sent you.. anyone else go ahead if u nkow this answer please tell me..



Would be

profile = GuiBlueWindowProfile;


to set the window


Check out the wiki for more information on guis.

michael7849 11-25-2006 04:58 AM

i spelt that wrong gambet i did exactly that but it still shows up black..

Twinny 11-25-2006 05:15 AM

Post the code.

michael7849 11-25-2006 05:20 AM

okay

NPC Code:

//#CLIENTSIDE
new GuiButtonCtrl("reconnectButton") {
profile = GuiBlueWindowProfile;
x = 550;
y = 30;
width = 100;
height = 20;
text = "Reconnect";
pushtoback();
}
function reconnectButton.onAction() {
profile = GuiBlueWindowProfile;
serverwarp("Horizon");
}


Gambet 11-25-2006 05:22 AM

GuiBlueButtonProfile for buttons



Like I said, visit the wiki.

Twinny 11-25-2006 05:26 AM

PHP Code:

//#CLIENTSIDE
function onCreated()
{
  new 
GuiButtonCtrl("reconnectButton")
  {
    
profile "GuiBlueButtonProfile";
    ...
  }
}

function 
reconnectButton.onAction()
  
serverwarp("Horizon"); 



All times are GMT +2. The time now is 07:29 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.