setFuel

From Bohemia Interactive Community
Revision as of 21:30, 1 June 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


vehicle setFuel amount


Operand types:

vehicle: Object

amount: Number

Type of returned value:

Nothing

Description:

Set fuel amount.

Fuel 1 is full gas tank, 0 is empty.


Example:

jeepOne setFuel 0