getMoney

Returns the money of the player.

p.getMoney(moneyType?)
Argument
Type
Default

moneyType?

string

Defaults.MONEY

Example

local p = FM.player.get(1)

local pMoney = p.getMoney('bank')
-- or
local pMoney = p.getMoney()

Last updated

Was this helpful?