FearlessStudios
FiveM ScriptsPaid ScriptsFS-MoneyExportsServer

addMoney

Server export to add money to a player

addMoney

Call this from server code.

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.