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;
x = 10;
y = 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