Quote:
|
Originally Posted by JkWhoSaysNi
Hello, how can I make it so the same window can be recreated after being closed (using the x in the corner).
For example, i have a window showing in an onWeaponFired() event if I fire the weapon, the window shows the first time. If i press the X then fire the weapon again, nothing happens.
How can I get the window to show every time?
Thanks.
|
In the part where the GUI is created, add:
PHP Code:
destroyOnHide = true;