---
name: "allowGetIn"
type: command
status: ok
groups: ["Object Manipulation", "Unit Control"]
arma3_since: "0.50"
locality: {"argument": "global", "effect": "global", "server_exec": false}
source: https://community.bistudio.com/wiki/allowGetIn
revid: 318643
updated: 2022-05-13T09:21:14Z
---

# allowGetIn

*Command · Object Manipulation, Unit Control · Arma 3 v0.50 · introduced in Operation Flashpoint v1.00*

Locality: arguments **global** · effect **global**

## Description

Set if the units given in the list are allowed to enter vehicles.

> [!NOTE]
> See AI Group Vehicle Management for more information.

## Syntax

```sqf
unitArray allowGetIn allow
```

**Parameters:**

- `unitArray`: [Array](../topics/Array.md) of [Object](../topics/Object.md)s
- `allow`: [Boolean](../topics/Boolean.md) - [true](../commands/true.md) allows the [units](../commands/units.md) to enter, [false](../commands/false.md) denies them

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

## Examples

### Example 1

```sqf
[_soldier1, _soldier2] allowGetIn true;
```

## See also

[orderGetIn](../commands/orderGetIn.md)

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