getAmmoCargo vehicleName
Operand types
Type of returned value
Description
Returns the ammo amount left (between 0 and 1) in the cargo space of the given re-ammo vehicle.
Used In
Arma3
Example
value = getAmmoCargo myVehicleName;
if (getAmmoCargo _truck > 0) then {
hint "This truck can re-arm you.";
};