joedajoester Posted January 4, 2012 Posted January 4, 2012 Ok for making a gui how would i do this? I just need a window that pops up on client connect showing the rules and then a button they click that says accept. Please help
Castillo Posted January 5, 2012 Posted January 5, 2012 I suggest using guieditor resource to design your GUI interfaces: https://community.multitheftauto.com/index.php?p= ... ils&id=141 And then you can add an event handler in your script, like this: addEventHandler("onClientGUIClick",myGUIButton, function () guiSetVisible(myGUIWindow, false) showCursor(false) end, false)
joedajoester Posted January 5, 2012 Author Posted January 5, 2012 Ok thank you sooo much!! So myguibutton should be named what the GUI button has written inside it?
Castillo Posted January 5, 2012 Posted January 5, 2012 Example: myGUIButton = guiCreateButton(arguments...)
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