Jump to content

[HELP]Login


StateSway

Recommended Posts

Posted

Well, i just want someone to give me some functions wish i should use to make a login panel

and how to get if player if it's his first time to login ?

i don't need any codes just if someone can give me a list with the functions wish i should use

Posted

https://wiki.multitheftauto.com/wiki/Int ... ng_the_GUI

That tutorial gives part of the functions, not the register/login ones though.

These are:

getAccount 
addAccount 
logIn 

To set the first time login, you should set an account data:

setAccountData 

then check with:

getAccountData 

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Alright i have understood how make the panel but how to make a data ? well if there is a tutorial or anyscript that has a login panel with an example with this can you just give me it ?

and

what does that line means ?

if username == "user" and password == "apple" then 
  

apple ? :o

Thx Castillo

Posted

As I told you in my first post, is not a complete login script tutorial, it has missing the registering and login functions, instead it checks if user and password is: "user", "apple".

Every fucking I posted has examples, take a look at them.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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