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) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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...) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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