# sm.gui.createGasContainerGui

Create a gas container GUI.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.gui.createGasContainerGui( destroyOnClose? )
```

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

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `destroyOnClose` *(optional)* | boolean | If true the gui is destroyed when closed, otherwise the gui can be reused. (Defaults to false) |

**Returns:**

| Type | Description |
| --- | --- |
| [GuiInterface](../Game-Script-Environment/Userdata/GuiInterface.md) | The gui interface to the created gui. |
