TISIPER Posted June 19, 2021 Posted June 19, 2021 Sorry for my bad english I want to save my player data like money,skin,faction. And how read them when player join?
Hydra Posted June 20, 2021 Posted June 20, 2021 for money and skin you can use setAccountData, getAccountData, setElementData & getElementData. For faction better use database(db) https://wiki.multitheftauto.com/wiki/setAccountData https://wiki.multitheftauto.com/wiki/GetAccountData https://wiki.multitheftauto.com/wiki/SetElementData https://wiki.multitheftauto.com/wiki/GetElementData https://wiki.multitheftauto.com/wiki/Database 1
TISIPER Posted June 20, 2021 Author Posted June 20, 2021 9 hours ago, Hydra said: for money and skin you can use setAccountData, getAccountData, setElementData & getElementData. For faction better use database(db) https://wiki.multitheftauto.com/wiki/setAccountData https://wiki.multitheftauto.com/wiki/GetAccountData https://wiki.multitheftauto.com/wiki/SetElementData https://wiki.multitheftauto.com/wiki/GetElementData https://wiki.multitheftauto.com/wiki/Database Its work thank you
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