weaponsItems vehicleName

Operand types

vehicleName: Object

Type of returned value

Description

Returns a nested array containing weapon class names and names of connected items of all the vehicle's weapons.

It's possible to query weapon holders and ammo crates with this command.

Used In

Arma3

Example

hint str(weaponsItems player);
Search OFPEC COMREF