Skip to main content

getMoney

getMoney

Retrieves the current balance for a given player and money type.

Parameters

  • moneyType - The type of money to retrieve ('cash', 'bank', 'dirty').
  • source - The player's server ID.

Returns

Returns the player's current balance as a number.

Usage

exports['FS-Lib']:getMoney('cash', source)