Jump to content

Help: Save Player Account in XML?


Hadif

Recommended Posts

Just the username or what...? Look up the XML writing functions on the MTA Wiki, there's plenty of information on how to read and write using those functions.

If you plan to store passwords as well, I suggest you do some research on password encryption. Storing password as plaintext is a terrible idea. :)

Then you simply store the account username in the XML file once they register an account. You'll need to write your own register function.

Link to comment
Just the username or what...? Look up the XML writing functions on the MTA Wiki, there's plenty of information on how to read and write using those functions.

If you plan to store passwords as well, I suggest you do some research on password encryption. Storing password as plaintext is a terrible idea. :)

Then you simply store the account username in the XML file once they register an account. You'll need to write your own register function.

I'll try!

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