Quote:
Originally Posted by Twinny
PHP Code:
//#CLIENTSIDE
function onCreated(){
TwinnyTest.destroy; //No need to reconnect after each update now
drawgui();
}
function drawgui(){
Testing = new GuiWindowCtrl(TwinnyTest); //Sets the name of the window
with (TwinnyTest) {
// ..
}
|
Assigning the variable testing is irrelevant. What you did can be accomplished in one line.
PHP Code:
function drawgui() {
new GuiWindowCtrl("TwinnyTest") {
// ..
}
}