Difference between revisions of "fuel"

From Bohemia Interactive Community
Jump to navigation Jump to search
Line 4: Line 4:
 
[[Category:Scripting Commands ArmA|F]]
 
[[Category:Scripting Commands ArmA|F]]
  
back to [[Scripting_Reference#F|COMREF]]
 
  
 
<h2 style="color:#000066">'''fuel ''vehicle'''''</h2>
 
<h2 style="color:#000066">'''fuel ''vehicle'''''</h2>

Revision as of 13:06, 23 April 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"