addMagazineAmmoCargo: Difference between revisions
Jump to navigation
Jump to search
Ilias38rus (talk | contribs) No edit summary |
mNo edit summary |
||
Line 9: | Line 9: | ||
|eff= global|Multiplayer Effects= | |eff= global|Multiplayer Effects= | ||
|gr1= Vehicle Inventory |GROUP1= | |||
|gr2= Weapons |GROUP2= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 12:50, 24 September 2020
Description
- Description:
- Adds magazines with specified ammo count to the cargo space of a vehicle or a container.
- Groups:
- Vehicle InventoryWeapons
Syntax
- Syntax:
- cargospace addMagazineAmmoCargo [magazine, quantity, ammocount]
- Parameters:
- cargospace: Object - vehicle or container or weaponholder
- [magazine, quantity, ammocount]: Array
- magazine: String - magazine class name
- quantity: Number - number of magazines to add
- ammocount: Number - ammo count in each magazine
- Return Value:
- Nothing
Examples
- Example 1:
_ammobox addMagazineAmmoCargo ["30Rnd_65x39_caseless_mag", 2, 5];
Additional Information
- See also:
- magazinesAmmoCargoaddMagazineCargoaddMagazineGlobaladdMagazineaddMagazinesaddMagazinePooladdMagazineTurretclearMagazineCargoaddWeaponCargoclearWeaponCargoclearWeaponCargoaddWeaponCargoGlobaladdBackpackCargoGlobaladdItemCargoaddItemCargoGlobal
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note