Description
Returns array with all items assigned to the handgunWeapon except magazines. Use handgunMagazine command for the latter. This command is used for infantry weapons only.
Syntax
handgunItems unit
Parameters:
unit: Object
Returns: Array - [silencer, laserpointer/flashlight, optics, bipod]
Examples
Example 1
handgunItems player;
/*
[
"muzzle_snds_L", // silencer
"", // laser
"", // optics
"" // bipod
]
*/
See also
addHandgunItem · removeHandgunItem · removeAllHandgunItems · weaponAccessories · weaponAccessoriesCargo · primaryWeaponItems · secondaryWeaponItems · weaponsItems · binocularItems · weaponsItemsCargo