setFuelCargo

From Bohemia Interactive Community
Revision as of 16:35, 22 April 2006 by Planck (talk | contribs)
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