fuel

From Bohemia Interactive Community
Revision as of 05:53, 16 April 2006 by Hoz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

fuel vehicle

Operand types:

vehicle: Object

Type of returned value:

Number

Description:

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

Example:

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