Adds money to a player's account.
Parameters:
source (number): Player server ID
source
type (string, optional): Money type ('cash', 'bank', 'crypto') - default: 'cash'
type
amount (number, optional): Amount to add - default: 0
amount
reason (string, optional): Reason for transaction
reason
Returns:
boolean: Always returns true
boolean
Example:
ps.addMoney(source, 'bank', 5000, 'Job payment')
Last updated 5 months ago