---
name: "crew"
type: command
status: ok
groups: ["Object Manipulation"]
arma3_since: "0.50"
locality: {"argument": "global", "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/crew
revid: 348275
updated: 2023-11-08T11:40:38Z
---

# crew

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

Locality: arguments **global**

## Description

Returns the crew (both dead and alive) of the given vehicle.

## Syntax

```sqf
crew vehicleName
```

**Parameters:**

- `vehicleName`: [Object](../topics/Object.md)

**Returns:** [Array](../topics/Array.md) - an array with all units in the vehicle is returned.

## Examples

### Example 1

```sqf
player in (crew _tank);
```

## See also

[commander](../commands/commander.md) · [driver](../commands/driver.md) · [gunner](../commands/gunner.md) · [fullCrew](../commands/fullCrew.md) · [assignedVehicleRole](../commands/assignedVehicleRole.md)

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