handgunWeapon

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 0.50
  Arguments of this scripting command don't have to be local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
0.50

Description

Description:
Returns the name of a unit's handgun (an empty string if there is none).

Syntax

Syntax:
handgunWeapon unit
Parameters:
unit: Object
Return Value:
String

Examples

Example 1:
hint handgunWeapon player; //"hgun_P07_F"

Additional Information

Multiplayer:
-
See also:
handgunMagazinehandgunItemsaddHandgunItemremoveHandgunItemremoveAllHandgunItemsprimaryWeaponsecondaryWeaponcurrentWeaponweapons

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section