ahmedo01 Posted April 22, 2016 Share Posted April 22, 2016 Hello everybody, Now, you can save your account data to MySQL tables. I cant explain it much more because it's same as normal account data but only difference is my account data system is using MySQL. Sorry for my bad English. The script has some exports: setAccountData(acc,datakey,value) string getAccountData(acc,datakey) removeAccountData(acc,datakey) getAllAccountData(acc) You need to execute this queries in MySQL: CREATE TABLE `datamanager` ( `id` int(11) NOT NULL, `username` text COLLATE utf8_general_ci NOT NULL, `datatable` text COLLATE utf8_general_ci NOT NULL ) https://community.multitheftauto.com/in ... s&id=13004 Hope you like it, report bugs please Link to comment
Enargy, Posted April 23, 2016 Share Posted April 23, 2016 Someone is going to get an error into syntax. Link to comment
aka Blue Posted April 23, 2016 Share Posted April 23, 2016 Ehmm... --[[ PROJECT: SEHIR FREEROAM AUTHOR: CYBER WEBSITE: SEHIRNETWORK.COM DATE: 22.04.2016 ]] ¿Cyber? Link to comment
ahmedo01 Posted April 23, 2016 Author Share Posted April 23, 2016 Ehmm... --[[ PROJECT: SEHIR FREEROAM AUTHOR: CYBER WEBSITE: SEHIRNETWORK.COM DATE: 22.04.2016 ]] ¿Cyber? Yes I am? Link to comment
Tekken Posted April 24, 2016 Share Posted April 24, 2016 setAccountData(acc,datakey,value) string getAccountData(acc,datakey) removeAccountData(acc,datakey) getAllAccountData(acc) ..., report bugs please Change the syntax cause those two functions setAccountData and getAccountData are mta defined functions. You can do something like accountSetData() and accountGetData(). Link to comment
ahmedo01 Posted April 24, 2016 Author Share Posted April 24, 2016 setAccountData(acc,datakey,value) string getAccountData(acc,datakey) removeAccountData(acc,datakey) getAllAccountData(acc) ..., report bugs please Change the syntax cause those two functions setAccountData and getAccountData are mta defined functions. You can do something like accountSetData() and accountGetData(). Thanks for reply. I think I dont need to change function names. Because the developers will use it as exports.xxxx:setAccountData() . No need to change. 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