FearlessStudios
FiveM ScriptsPaid ScriptsFS-MoneyExportsClient

getMoney

Client export to read cached balances

getMoney

Call this from client code. Use the result for display; approve purchases on the server.

Returns cached balances on the client.

Usage

client.lua
local cash = exports["FS-Money"]:getMoney("cash")

Parameters

Prop

Type

Returns

  • number | nil: Cached balance, or nil if the money type is invalid.