View Single Post
  #20  
Old 04-02-2011, 07:00 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
Quote:
Originally Posted by fowlplay4 View Post
You need //#CLIENTSIDE in your class script too.
Added that.
My classes script now looks like this:

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

It is giving errors also in Remote Control.
Here are the errors

NPC Code:

Script testgui updated by mrnothersan
Script: Function addtiledef not found at line 3 in script of npcs[2] (in level building_edittest.nw at pos (33, 40))
Script: Function putnpc not found at line 3 in script of npcs[1] (in level building_edittest.nw at pos (3, 29))



Please advise on what I am doing wrong.
Thanks
Dominic
__________________

Regards
MrNothersan - Playerworld owner


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

Reply With Quote