---
name: "setFuel"
type: command
status: ok
groups: ["Object Manipulation"]
arma3_since: "0.50"
locality: {"argument": "local", "effect": "global", "server_exec": false}
source: https://community.bistudio.com/wiki/setFuel
revid: 376981
updated: 2026-01-01T06:22:22Z
---

# setFuel

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

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

## Description

Sets fuel level.

## Syntax

```sqf
vehicle setFuel amount
```

**Parameters:**

- `vehicle`: [Object](../topics/Object.md)
- `amount`: [Number](../topics/Number.md) in range 0..1

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

## Examples

### Example 1

```sqf
_jeepOne setFuel 0.5;
```

## See also

[fuel](../commands/fuel.md) · [getFuelCargo](../commands/getFuelCargo.md) · [setFuelCargo](../commands/setFuelCargo.md) · [setHit](../commands/setHit.md) · [setAmmo](../commands/setAmmo.md)

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