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