Black Ops III

HasWeapon

Returns true if the player has the given weapon

Example:

if( e_player HasWeapon( w_spike_launcher, true ) )

Parameters

ParameterSummary
*weaponThe weapon to check
ignore_attachmentsOnly check the root weapon, ignore all the attachments.

* = mandatory