dalexoxo Posted March 18, 2018 Posted March 18, 2018 Hello MTA Community, ich have a problem with the DGS class. if I close the gui with close Button, the mouse pointer does not go away, why? who can help me?
Scripting Moderators thisdp Posted March 19, 2018 Scripting Moderators Posted March 19, 2018 The window closes does't mean it will have some effects on the cursor. use showCursor(false) in the event onDgsWindowClose. https://wiki.multitheftauto.com/wiki/OnDgsWindowClose
dalexoxo Posted March 19, 2018 Author Posted March 19, 2018 no, I mean when I click on the X close button
MIKI785 Posted March 19, 2018 Posted March 19, 2018 Did you even try it? That event should get triggered onClose, doesn't say how so it should work when clicking the X.
dalexoxo Posted March 19, 2018 Author Posted March 19, 2018 2 hours ago, MIKI785 said: Did you even try it? That event should get triggered onClose, doesn't say how so it should work when clicking the X. in which file? and which line?
Scripting Moderators thisdp Posted March 19, 2018 Scripting Moderators Posted March 19, 2018 (edited) 9 hours ago, LorenzoMTA said: no, I mean when I click on the X close button This event will be triggered when you click the X button. Edited March 19, 2018 by thisdp
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now