Gaborboy95 Posted May 5, 2018 Posted May 5, 2018 Hi. So I was wondering about how to make a custom currency, so i have the default & the donator coin f.e. Could somebody help me with this? Like how to do it. And if possible, some code. Thanks
NeXuS™ Posted May 5, 2018 Posted May 5, 2018 setElementData, for saving you could use SQL functions or setAccountData.
NeXuS™ Posted May 5, 2018 Posted May 5, 2018 If you aren't trying, we aren't willing to help you. When the player logins, set his element data according to the saved data (could be SQL, or account data). When he uses it, set it with setElementData, and when he leaves, save it to the SQL or as the account data. 1
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