Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   GUICtrl Help (https://forums.graalonline.com/forums/showthread.php?t=64944)

Nomad_P2P 03-25-2006 12:39 PM

GUICtrl Help
 
I am Basicly New to the Entire GS2 thing, I only know so Much, could you please Help me with the Following Script





//#CLIENTSIDE
function OnCreated()
{
GUI_Window.showtop();
new GuiWindowCtrl("GUI_Window")
{
extent = {210, 90};
position = {0, screenheight-100};
text = "GUI_Window";
new GuiTextCtrl("GUI_Text")
{
position = {5,45};
extent = {100,20};
text = "GUI_Text";
}
}
}


Please Help. Thank You

EDIT: Oh and how do I change the GUI Look to Blue (Like the Login Screen)

xXziroXx 03-25-2006 02:41 PM

profile = "GuiBlue[insert control name]Profile";

Skyld 03-25-2006 02:49 PM

Quote:

Originally Posted by Nomad_P2P
I am Basicly New to the Entire GS2 thing, I only know so Much, could you please Help me with the Following Script

...

Please Help. Thank You

What is the problem?

Also, you should move your GUI_Window.showtop(); after the creation of the window.

Nomad_P2P 03-25-2006 05:46 PM

I Figured out the Problem =] GS2 Wasnt Activated (or w/e) on the server
so thanks for the help anyways =] :)


All times are GMT +2. The time now is 11:17 AM.

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