Click on the images for descriptions
- Arma 3
- Returns the amount of ammo resources in the cargo space of a rearm vehicle.
- getAmmoCargo vehicle
- vehicle: Object
- Return Value:
- Example 1:
value = getAmmoCargo myVehicleName;
- See also:
- Posted on December 22, 2014 - 17:16 (UTC)
If the vehicle is not alive, it always returns Nothing, which you should check for using isNil.
If the vehicle is unable to carry that type of cargo, it returns -1.#IND, which you should check for using finite.