---
name: "BIS_fnc_setRank"
type: function
status: ok
groups: ["Object Manipulation"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_setRank
revid: 349416
updated: 2023-11-08T16:27:30Z
---

# BIS_fnc_setRank

*Function · Object Manipulation · Arma 3 v1.00*

## Description

Set rank of vehicle crew.

## Syntax

```sqf
[target, rank] call BIS_fnc_setRank
```

**Parameters:**

- `target`: [Object](../topics/Object.md) - the vehicle whose crew's rank should be adjusted
- `rank`: [String](../topics/String.md) or [Number](../topics/Number.md) - rank name or rank ID, can be:

  0 - "Private"

  1 - "Corporal"

  2 - "Sergeant"

  3 - "Lieutenant"

  4 - "Captain"

  5 - "Major"

  6 - "Colonel"

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

## Examples

### Example 1

```sqf
[vehicle player, "Captain"] call BIS_fnc_setRank;
```

## See also

[rank](../commands/rank.md) · [setRank](../commands/setRank.md)

<sub>Source: [BI Community Wiki — BIS fnc setRank](https://community.bistudio.com/wiki/BIS_fnc_setRank) (revision 349416).</sub>
