Darkwarrior Diesel Posted January 19, 2014 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
kevenvz Posted January 19, 2014 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!
Wei Posted January 19, 2014 Posted January 19, 2014 you can use setAccountData or executeSqlQuery or MySQL or XML functions everything is saved in internal.db
Anubhav Posted January 19, 2014 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
Darkwarrior Diesel Posted January 23, 2014 Author 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
Darkwarrior Diesel Posted January 23, 2014 Author Posted January 23, 2014 can u help me plz Noki, wat u mean by configured it correctly ??? how u do that ??
Noki Posted January 23, 2014 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
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