{"name":"weaponAccessoriesCargo","title":"weaponAccessoriesCargo","type":"command","url":"https://community.bistudio.com/wiki/weaponAccessoriesCargo","revid":352198,"updated":"2024-02-01T23:26:01Z","groups":["Vehicle Inventory","Containers","Unit Inventory"],"status":"ok","games":{"arma3":"1.22"},"since":"arma3 1.22","arma3_since":"1.22","description":"Returns array with all items assigned to the given weapon in given cargo container.\n\n> [!WARNING]\n> This is unofficial documentation. All Information here is as it exists in the Engine. It might not reflect the reality.","syntaxes":[{"syntax":"container weaponAccessoriesCargo [weaponId, creatorId]","params":[{"name":"container","type":"Object","description":"cargo container","type_expr":"Object"},{"name":"weaponId","type":"Number","type_expr":"Number"},{"name":"creatorId","type":"Number","type_expr":"Number"}],"returns":{"type":"Array","type_expr":"Array","description":"[silencer, laserpointer/flashlight, optics, bipod]"},"form":"binary","left":{"text":"container"},"right":{"text":"[weaponId, creatorId]"}}],"examples":[{"text":"-"}],"see_also":["weaponAccessories","primaryWeaponItems","handgunItems","secondaryWeaponItems","weaponsItems","weaponsItemsCargo","removeWeaponAttachmentCargo","removeWeaponCargo"]}