Jump to content

[HELP]Custom currency


Recommended Posts

Posted

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

Posted

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.

  • Thanks 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...