Description
Return the name of the currently selected weapon (on the primary turret for vehicles).
Syntax
currentWeapon vehicle
Parameters:
vehicle: Object
Returns: String
Examples
Example 1
_weaponClass = currentWeapon (vehicle player);//Example: "M16A2GL"
Example 2
_weaponClass = currentWeapon player;
See also
currentMagazine · currentMuzzle · currentThrowable · currentVisionMode · currentWeaponMode · currentZeroing · magazinesTurret · weaponsTurret · currentWeaponTurret · weaponState