primaryWeapon

From Bohemia Interactive Community
Revision as of 02:02, 16 April 2006 by Hoz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

primaryWeapon vehicle

Operand types:

vehicle: Object

Type of returned value:

String

Description:

Returns name of vehicle's primary weapon (empty string if none).

Example:

pWeap = primaryWeapon player