Difference between revisions of "fuel"

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

Revision as of 13:33, 4 May 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"