handgunWeapon unitName
Operand types
Type of returned value
Description
Returns the name of a unit's handgun (an empty string if there is none).
Used In
Arma3
Example
handgunWeapon player;
if ((handgunWeapon loon1) == "") then {
hint "This loon has no pistol.";
};