Jump to content

Making a Simple Login Panel


Recommended Posts

GUI functions:

Create gui-window using this function

guiCreateWindow 

Create gui-editbox ( some field the player can pass his username and password from ) using

guiCreateEdit 

Login/Register functions:

Use this function to log a player into his account

logIn 

Use this function to register an account

addAccount 

You may have to learn more about lua and mta-scripting-functions on:

https://wiki.multitheftauto.com/wiki/Sc ... troduction

Link to comment
GUI functions:

Create gui-window using this function

guiCreateWindow 

Create gui-editbox ( some field the player can pass his username and password from ) using

guiCreateEdit 

Login/Register functions:

Use this function to log a player into his account

logIn 

Use this function to register an account

addAccount 

You may have to learn more about lua and mta-scripting-functions on:

https://wiki.multitheftauto.com/wiki/Sc ... troduction

+ getAccount - guiGetText - triggerServerEvent

How to start it off like

function createLogin () start me off

You must not make ' function ' for ' gui-window ' or ' gui-edit ' etc.

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...