How to trigger an action when the red x button at the top corner is pressed
843806Mar 23 2009 — edited Mar 23 2009My main question is, how can I do something when i close a gui window, specifically by pressing the cross or pressing alt f4? For example, I want to set a counter back to 0 in another gui when I close a gui, how do I do that assuming I have access to the counter in the gui that I want to close?
Thanks