Container.setAllowSpend
Sets whether the container can spend items.
Kind: Function
Environments: Game
Game
container:setAllowSpend( allow )
Availability: Server only
Parameters:
| Name | Type | Description |
|---|---|---|
container |
Container | The container. |
allow |
boolean | True if the container can spend. |