I am trying to make this GUI appear on login (like it was before I changed a few things) but it stopped. What's missing/incorrect.
NPC Code:
//#CLIENTSIDE
function onActionPlayerOnline() {
new GuiWindowCtrl("OnLogin") {
profile = GuiBlueWindowProfile;
x = 150;
y = 150;
height = 412;
width = 187;
text = "Graal Apocalypse";
closequery = true;
canminimize = true;
canmaxamize = true;
}
}
I have already put it in NPC Control.