I've got the following problem:
When I for example do this script
HTML Code:
//#CLIENTSIDE
function onWeaponFired() {
this.on = !this.on;
if (this.on) {
new GuiWindowCtrl("Test") {
profile = GuiBlueWindowProfile;
clientrelative = true;
clientextent = "320,240";
canmove = true;
canresize = true;
closequery = false;
destroyonhide = false;
text = "Window 1";
x = 666;
y = 351;
}
}elseif ( !this.on) {
Test.destroy();
}
}
And press D, the window will shop up, yea all ok, BUT I can't hit D again without klicking onto the screen before, else it wont destroy the window, I hope you know what I mean.
What I want to have, is that I can hit D again and again without having to klick onto the screen before.
Im sorry for this circumbendibus.