fuel

From Bohemia Interactive Community
Revision as of 12:06, 23 April 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


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"