handgunItems unitName

Operand types

unitName: Object

Type of returned value

Description

Returns an array with all items assigned to the handgun (weapon attachments).
This command is used for infantry weapons only.

Used In

Arma3

Example

handgunItems player;

if ("muzzle_snds_L" in (handgunItems player)) then {
hint "you have a pistol silencer";
};
Search OFPEC COMREF