{"name":"addHandgunItem","title":"addHandgunItem","type":"command","url":"https://community.bistudio.com/wiki/addHandgunItem","revid":320941,"updated":"2022-05-13T10:04:43Z","groups":["Unit Inventory"],"status":"ok","games":{"arma3":"0.50"},"since":"arma3 0.50","arma3_since":"0.50","locality":{"argument":"local","effect":"global"},"description":"Adds weapon item, including magazine, directly to the handgunWeapon. This is used for infantry weapons.","syntaxes":[{"syntax":"unit addHandgunItem item","params":[{"name":"unit","type":"Object","type_expr":"Object"},{"name":"item","type":"String","type_expr":"String"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"unit"},"right":{"text":"item"}}],"examples":[{"code":["player addHandgunItem \"muzzle_snds_L\";"]}],"see_also":["addWeaponItem","removeHandgunItem","removeAllHandgunItems","addPrimaryWeaponItem","addSecondaryWeaponItem","addBinocularItem","weaponsItems","handgunItems","primaryWeaponItems","secondaryWeaponItems","binocularItems"]}