getMoney
getMoney
info
Retrieves the current balance for a given player and money type.
Use this export in your scripts.
Parameters
moneyType
- The type of money to retrieve ('cash'
,'bank'
,'dirty'
,'pokerchips'
).source
- The player's server ID.
Returns
Returns the player's current balance as a number.
Usage
- Lua
- Javascript
exports['FS-Money']:getMoney('cash', source)
exports["FS-Money"].getMoney("cash", source);