setFuel: Difference between revisions

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





Revision as of 17:34, 4 May 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