# sm.game.setLimitedInventory

Sets limited inventory. If true the items are limited, if false the items are unlimited.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.game.setLimitedInventory( isLimited )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.game.md#setlimitedinventory)

**Availability:** Server only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `isLimited` | boolean | Is limited. |
