Difference between revisions of "fuel"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
[[Category:Scripting Commands|FUEL]]
 
[[Category:Scripting Commands|FUEL]]
[[Category:Scripting Commands OFP 1.97|FUEL]]
+
[[Category:Scripting Commands OFP 1.96|FUEL]]
 
[[Category:Scripting Commands OFP 1.46|FUEL]]
 
[[Category:Scripting Commands OFP 1.46|FUEL]]
 
[[Category:Scripting Commands ArmA|FUEL]]
 
[[Category:Scripting Commands ArmA|FUEL]]

Revision as of 21:20, 1 June 2006


fuel vehicle


Operand types:

vehicle: Object

Type of returned value:

Number

Description:

Check how much fuel the vehicle has left in the gas tank, in range 0 to 1.


Example:

? (fuel (vehicle player) <25) : hint "Fuel is running low"