Warning: file_put_contents(/ff_a47122bcd6eff77fb48217c269809df7c58312d90e8477c2.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
setFuel - OFPEC Scripting Command Reference | OFPEC The Editing Center

vehicle setFuel amount

Operand types

vehicle: Object
amount: Number

Type of returned value

Description

Set fuel amount.
Fuel 1 is full gas tank, 0 is empty.

Used In

OFP/ArmA

Example

jeepOne setFuel 0

Advertisement