Gaborboy95 Posted May 5, 2018 Share 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 Link to comment
NeXuS™ Posted May 5, 2018 Share Posted May 5, 2018 setElementData, for saving you could use SQL functions or setAccountData. Link to comment
Gaborboy95 Posted May 5, 2018 Author Share Posted May 5, 2018 Can you provide me some sort of ecample? Link to comment
NeXuS™ Posted May 5, 2018 Share 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 Link to comment
Gaborboy95 Posted May 5, 2018 Author Share Posted May 5, 2018 Ok, will try but its 1 in the morning here 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