---
name: "needService"
type: command
status: ok
groups: ["Object Manipulation"]
arma3_since: "2.12"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/needService
revid: 377624
updated: 2026-01-02T08:52:02Z
---

# needService

*Command · Object Manipulation · Arma 3 v2.12*

## Description

Returns array with how much vehicle needs repairing, refueling and rearming.

## Syntax

```sqf
needService vehicle
```

**Parameters:**

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

**Returns:** [Array](../topics/Array.md) with [repair, refuel, rearm]. Values are in range 0..1: 0: no need, 1: maximum need

## Examples

### Example 1

```sqf
needService tank params ["_needRepair", "_needRefuel", "_needRearm"];
```

### Example 2

```sqf
onEachFrame { hintSilent str needService vehicle player };
```

## See also

[allowService](../commands/allowService.md) · [allowedService](../commands/allowedService.md) · [needReload](../commands/needReload.md)

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