ServerxPlayerhasWeaponOn this pagehasWeaponxPlayer.hasWeapon(weaponName)This functions returns if the player has the specified weapon.ArgumentArgumentData TypeOptionalDefault ValueExplanationweaponNamestringNo-Weapon nameExampleif xPlayer.hasWeapon('WEAPON_PISTOL') then print('found weapon')else print('weapon not found!')end