---
name: "createGearDialog"
type: command
status: ok
groups: ["GUI Control"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/createGearDialog
revid: 321391
updated: 2022-05-14T11:20:25Z
---

# createGearDialog

*Command · GUI Control · Arma 3 v0.50 · introduced in Arma 2 v1.00*

## Description

Opens gear dialog for given unit.

> [!NOTE]
> [action](../commands/action.md) command can also be used:
>
> ```sqf
> player action ["Gear", player];
> ```

## Syntax

```sqf
createGearDialog [unit, resource]
```

**Parameters:**

- `unit`: [Object](../topics/Object.md)
- `resource`: [String](../topics/String.md) - (Optional)

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
createGearDialog [player];
```

## See also

[createDialog](../commands/createDialog.md) · [createDisplay](../commands/createDisplay.md) · [action](../commands/action.md)

<sub>Source: [BI Community Wiki — createGearDialog](https://community.bistudio.com/wiki/createGearDialog) (revision 321391).</sub>
