Jump to content

Method to save data


GanJaRuleZ

Recommended Posts

Posted (edited)

MySQL is permanent and is only available on server-side.

Account data is half-permanent and is only available on server-side.

Element data is not permanent and is available on both sides.

XML is permanent and is available on both sides.

setAccountData 
setElementData 

Links

XML Functions

MySQL Module

Edited by Guest
Posted

@myonlake: Why teach him to use an old module?

MTA supports sql/mysql itself..

https://wiki.multitheftauto.com/wiki/Ser ... _functions

Check the "db..." functions. They can be used for both sql and mysql and unless you have a mysql server you're gonna have to use sql @ GanJaRuleZ

But yes, I also suggest setAccountData for beginners especially because it requires an account and not everybody will spam it.

But if you think you're up for it, sql is a far more efficient method :)

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