---
name: "isUniformAllowed"
type: command
status: ok
groups: ["Unit Inventory"]
arma3_since: "1.22"
locality: {"argument": "global", "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/isUniformAllowed
revid: 319160
updated: 2022-05-13T09:23:17Z
---

# isUniformAllowed

*Command · Unit Inventory · Arma 3 v1.22*

Locality: arguments **global**

## Description

Check whether given uniform can be dressed by target soldier.

## Syntax

```sqf
unit isUniformAllowed type
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
_canUse = _unit isUniformAllowed "U_B_CombatUniform_mcam";
```

## See also

[addUniform](../commands/addUniform.md) · [forceAddUniform](../commands/forceAddUniform.md) · [removeUniform](../commands/removeUniform.md) · [uniform](../commands/uniform.md)

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