setFuel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SETFUEL]]
[[Category:Scripting Commands|SETFUEL]]
[[Category:Scripting Commands OFP 1.97|SETFUEL]]
[[Category:Scripting Commands OFP 1.96|SETFUEL]]
[[Category:Scripting Commands OFP 1.46|SETFUEL]]
[[Category:Scripting Commands OFP 1.46|SETFUEL]]
[[Category:Scripting Commands ArmA|SETFUEL]]
[[Category:Scripting Commands ArmA|SETFUEL]]

Revision as of 21:30, 1 June 2006


vehicle setFuel amount


Operand types:

vehicle: Object

amount: Number

Type of returned value:

Nothing

Description:

Set fuel amount.

Fuel 1 is full gas tank, 0 is empty.


Example:

jeepOne setFuel 0