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
- Lua
- Javascript
exports['FS-Lib']:getMoney('cash', source)
exports["FS-Lib"].getMoney("cash", source);