Jump to content

Help with amount of money variable


Recommended Posts

Posted
2 hours ago, Saiyan said:

to store the amount of coins in a long variable it'd be

long coinCount = getInventory().getAmount("Coins");

note if the inventory tab is not the current open tab it will be 0 i think

 

it should be int rather than long, because max cash stack is the value of the maximum int value. :doge:

  • Like 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...