fuel

From Bohemia Interactive Community
Revision as of 10:50, 16 April 2006 by Planck (talk | contribs)
Jump to navigation Jump to search

back to COMREF

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"