Skip to main content

setMoney

setMoney

Sets the player's balance for the specified money type.

Parameters

  • moneyType - The type of money to set ('cash', 'bank', 'dirty').
  • source - The player's server ID.
  • amount - The new balance to assign.

Returns

Returns true if the update was successful, otherwise false.

Usage

exports['FS-Lib']:setMoney('bank', source, 1500)