HaveMoney
Check if the player have that money
Argument | Data Type | Needed | Default | Description |
---|---|---|---|---|
id | number | - | ||
Type | string | - | The money type: cash, bank, black_money | |
Amount | number | - | The amount of money to check |
Dont need to be called every frame
Returns
Data Type | Description |
---|---|
boolean | If have or no the money |
Example
local have_money = HaveMoney(source, "cash", 500)
Last update: October 31, 2022
Created: June 27, 2021
Created: June 27, 2021