Darkwarrior Diesel Posted January 19, 2014 Share Posted January 19, 2014 Hi guys hmm, i have lots of questions to ask in my mind uhh, if i want to save data, lets say, if i buy a house, where should i save all theses ( owner name, price of house, date of purchase etc.. )??? save the players info ( player name, registration date, username, password, online time, ip, money, guns and ammo available, etc) vehicles owned( purchasin price, name, type etc ) and yeah, login and register , where are all data saved ?? wat fuction should i used ??? plz help me thnk u Link to comment
kevenvz Posted January 19, 2014 Share Posted January 19, 2014 You could save data in XML(which I don't recommend cause it may cause lagg) you can use MySQL or SQLite(I recommend this) or you can just use setAccountData and save it to the local account. Hope I helped you! Link to comment
Wei Posted January 19, 2014 Share Posted January 19, 2014 you can use setAccountData or executeSqlQuery or MySQL or XML functions everything is saved in internal.db Link to comment
Anubhav Posted January 19, 2014 Share Posted January 19, 2014 to get the things so it can be saved getElementData SAVING: for XML Things xmlLoadFile (and other xml functions) database things MY:SQL Or SQL Link to comment
Darkwarrior Diesel Posted January 23, 2014 Author Share Posted January 23, 2014 Ok, Thnks guys but if i close my server and open it again, will all the data load automatically ??? O_O Link to comment
Noki Posted January 23, 2014 Share Posted January 23, 2014 If you have configured it correctly, it will. Link to comment
Darkwarrior Diesel Posted January 23, 2014 Author Share Posted January 23, 2014 can u help me plz Noki, wat u mean by configured it correctly ??? how u do that ?? Link to comment
Noki Posted January 23, 2014 Share Posted January 23, 2014 Depends if you use MySQL, MTA Accounts System or XML save systems. I recommend you use the MTA accounts system for now. https://community.multitheftauto.com/in ... ls&id=6998 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