addMoney
addMoney
info
Adds money to a player's balance.
Use this export in your scripts.
Parameters
moneyType- The type of money to add to ('cash','bank','dirty','pokerchips').source- The player's server ID.amount- The amount to add.reason(optional)` - A reason to show in the player's notification.sendNotify(optional): Whether to display the notification to the user (default: true).
Returns
Returns true if successful.
Usage
- Lua
- Javascript
exports['FS-Money']:addMoney('cash', source, 100, 'Job Payout')
exports['FS-Money'].addMoney('cash', source, 100, 'Job Payout')