Gets the money amount from a player's account.
Parameters:
source (number): Player server ID
source
type (string, optional): Money type - default: 'cash'
type
Returns:
number: Money amount
number
Example:
local cashAmount = ps.getMoney(source, 'cash') print("Player has $" .. cashAmount .. " cash")
Last updated 5 months ago