Container.allowSpend
Returns whether the container can spend items.
Kind: Member
Environments: Game
Game
Get
Availability: Server only
Returns whether the container can spend items.
Returns:
| Type | Description |
|---|---|
| boolean | Returns true if the container can spend. |
Set
Availability: Server only
Sets whether the container can spend items.
Parameters:
| Name | Type | Description |
|---|---|---|
allow |
boolean | True if the container can spend. |