|H|TiTanium Posted June 21, 2013 Share Posted June 21, 2013 May you help me please: -Cursor doesn't appear when GUI opens, everything on GUI is ready, I just need to make cursor appear. function closeGUI ( ) guiSetVisible ( myWindow, false ) showCursor = true end addEventHandler("onClientGUIClick", myButton, closeGUI) Link to comment
iPrestege Posted June 21, 2013 Share Posted June 21, 2013 showCursor( true ) + addEventHandler("onClientGUIClick", myButton, closeGUI,false) Link to comment
|H|TiTanium Posted June 21, 2013 Author Share Posted June 21, 2013 Is this necessary ? addEventHandler("onClientGUIClick", myButton, closeGUI,false) Link to comment
|H|TiTanium Posted June 21, 2013 Author Share Posted June 21, 2013 I think I should add showCursor( true ) on showGUI, instead of using it on closeGUI. but I gotta know if the above line is really necessary. Link to comment
iPrestege Posted June 21, 2013 Share Posted June 21, 2013 Yes it's necessary because if you click in a gui element window or anything the function will handling . Link to comment
|H|TiTanium Posted June 21, 2013 Author Share Posted June 21, 2013 It's working, I've changed showCursor( true ) to showGUI function, and created another showCursor( false ) to function closeGUI Link to comment
|H|TiTanium Posted June 21, 2013 Author Share Posted June 21, 2013 Everything is ready, now I'm gonna do a Timer to output on chatbox a message saying . "Para ver o preço das bases e pegar os contatos, digite /bases". Thank you for helping me Link to comment
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