Skip to content

xPlayer.hasWeaponComponent

xPlayer.hasWeaponComponent(weaponName, weaponComponent)

This functions returns (boolean) if the player has the specified weapon component for a given weapon.

The available component list can be found in the weapon config file.