View Single Post
  #18  
Old 04-02-2011, 04:06 PM
mrnothersan mrnothersan is offline
Owner of MrNothersan
Join Date: Mar 2011
Location: On the Computer
Posts: 97
mrnothersan is an unknown quantity at this point
Send a message via AIM to mrnothersan Send a message via MSN to mrnothersan
Hello,

Thanks for all your advice.

This is the code I have in the weapon:

PHP Code:
function onCreated()
  
this.join("testgui");
//#CLIENTSIDE
function onCreated() {
  
drawGUI();

This is the code I have in the class:

PHP Code:
public function drawGUI() {
new 
GuiWindowCtrl("Test_Window") {
  
profile GuiBlueWindowProfile;
  
10;
  
10;
  
width 160;
  
height 80;
  
text "Window";
}

What I want it to do is the Gui Control Window to appear when I log into my playerworld.
I have uploaded the image of the gui to levels/images and set the weapon icon to the gui filename.

Hope you can give me some advice

Thanks
__________________

Regards
MrNothersan - Playerworld owner


Staff Hirings Thread for MrNothersan: http://forums.graalonline.com/forums....php?p=1639180

Reply With Quote