setFuel

From Bohemia Interactive Community
Revision as of 15:33, 17 April 2006 by Planck (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

back to COMREF

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