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').
Returns
Returns the player's current cached balance as a number.
Usage
- Lua
- Javascript
exports['FS-Money']:getMoney('cash')
exports["FS-Money"].getMoney("cash");