Quote:
Originally Posted by fowlplay4
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;
x = 10;
y = 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