fuel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|FUEL]]
[[Category:Scripting Commands|FUEL]]
[[Category:Scripting Commands OFP 1.97|FUEL]]
[[Category:Scripting Commands OFP 1.96|FUEL]]
[[Category:Scripting Commands OFP 1.46|FUEL]]
[[Category:Scripting Commands OFP 1.46|FUEL]]
[[Category:Scripting Commands ArmA|FUEL]]
[[Category:Scripting Commands ArmA|FUEL]]

Revision as of 20:20, 1 June 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"