getRepairCargo vehicleName

Operand types

vehicleName: Object

Type of returned value

Description

Returns the repair cabability left (between 0 and 1) in the cargo space of a repair vehicle.

Used In

Arma3

Example

value = getFuelCargo myVehicleName;

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

Advertisement