setFuelCargo

From Bohemia Interactive Community
Revision as of 15:31, 17 April 2006 by Planck (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

back to COMREF

vehicle setFuelCargo amount


Operand types:

vehicle: Object

amount: Number

Type of returned value:

Nothing

Description:

Set fuel amount in cargo space of refuel vehicle.

Fuel 1 is full gas tank, 0 is empty.


Example:

refuelTruckOne setFuelCargo 0