Jump to content

Need help with making a roleplay login!


Recommended Posts

  
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!

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...