Real Wallet / Features

Cash

The wallet really holds cash: your money item (Config.MoneyItem, 'money' by default, which is ox_inventory's cash on every framework). Cash in a wallet is not in the player's pockets, so it can not be spent until it is taken out.

Putting cash in

Press C with the wallet out. As much of the cash in your pockets goes in as fits under the wallet's limit, and your hand tucks it into the money clip (slate) or the bill pocket (leather).

  • The limit is $10,000 by default (Config.WalletCash). The leather can have its own: Config.Leather.WalletCash.
  • At the limit: "Your wallet only holds $10,000."
  • No cash on you: "There is no cash on you."
  • Config.WalletCash = 0 makes wallets hold no cash at all ("This wallet does not hold cash."). Cash already in one can still be taken out.
  • Lowering the limit below what a wallet already holds: nothing more goes in, and all of it still comes out.

Taking cash out

Press V. All the cash in the wallet comes out into your pockets. If your pockets can not carry it: "You can not carry that much." and it stays in the wallet.

Counting

Click the notes, or press G.

  • Slate: the hands take the wad out of the clip and count it note by note, then the amount shows: "You count $1,250 in cash." The wad, and how many notes are counted (3, 5 or 8), depends on the amount (Config.CashTiers).
  • Leather: the amount shows; the notes stay in their pocket.

Weight

If your money item has a weight, the wallet's storage grows to fit its cash limit, so the cash limit is the only limit on cash, whatever the money weighs.

Logs

Every cash move calls Hooks.OnCash(src, amount): positive when cash went in, negative when it came out. See Hooks.

Still stuck? Open a ticket in the Ryan Studios Discord and we'll help you out.