waqaarali Posted July 7, 2013 Posted July 7, 2013 GUIEditor = { button = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.button[1] = guiCreateButton(0, 562, 123, 38, "Log in", false) GUIEditor.button[2] = guiCreateButton(129, 562, 123, 38, "Register", false) end ) addEventHandler("onClientRender", root, function() dxDrawImage(236, 25, 312, 231, ":guieditor/images/examples/mtalogo.png", 0, 0, 0, tocolor(255, 255, 255, 255), true) dxDrawText("Welcome to the server.\nWe are a new server.\nEnjoy roleplaying.\n", 262, 283, 458, 286, tocolor(255, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, true, false, false) end ) I've got the code but i don't know how to start off scripting i want it as other servers like when you register/login you get Firstname and Lastname but this one is different when you click button login a different window appears and when you click register a different window appears! But it has to be connected to MySQL to register please help someone!
Lloyd Logan Posted July 8, 2013 Posted July 8, 2013 You can use/edit these ones to begin until you get the hang of scripting; https://community.multitheftauto.com/index.php?p= ... ls&id=2234 That link is just one of many!
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