GanJaRuleZ Posted January 1, 2012 Share Posted January 1, 2012 Hi all. May i ask you something? What do you thing is the best method to save data ? Thank you Link to comment
myonlake Posted January 1, 2012 Share Posted January 1, 2012 (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 January 1, 2012 by Guest Link to comment
bandi94 Posted January 1, 2012 Share Posted January 1, 2012 The easiest for beginres is AccountData Link to comment
BinSlayer1 Posted January 1, 2012 Share Posted January 1, 2012 @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 Link to comment
myonlake Posted January 1, 2012 Share Posted January 1, 2012 MySQL server is suggested by me (xampp) Link to comment
JR10 Posted January 1, 2012 Share Posted January 1, 2012 He can also just use SQLite instead of MySQL. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now