getFuelCargo vehicleName

Operand types

vehicleName: Object

Type of returned value

Description

Returns the fuel amount left (between 0 and 1) in the cargo space of a refuelling vehicle.

Used In

Arma3

Example

value = getFuelCargo myVehicleName;

if (getFuelCargo _truck > 0) then {
hint "This truck can refuel you.";
};
Search OFPEC COMREF