Vault / Economy
vault/has_money
Has Money
Checks whether a player has at least a specified amount of money.
Inputs
| Name | Type | Optional | Description |
|---|---|---|---|
player |
player | Player to check. | |
amount |
number | ✓ | Amount to check for. |
Outputs
| Name | Type | Description |
|---|---|---|
result |
boolean | True if the player has enough. |
Properties
| Key | Type | Default | Description |
|---|---|---|---|
amount |
number | 100 |
Amount |