FearlessStudios

addMoney

Server export to add money to a player

addMoney

Adds an amount to a player's balance.

Usage

server.lua
exports["FS-Money"]:addMoney("cash", source, 250, "paycheck", "Weekly pay", true)

Parameters

Prop

Type

Returns

  • boolean: True on success, false if the player or money type is invalid.