Signature
native any:cs_get_weapon_info(weapon_id, CsWeaponInfo:type);
Description
Returns some information about a weapon.
Parameters
- weapon_id — Weapon id, see CSW_* constants
- type — Info type, see CS_WEAPONINFO_* constants
Returns
Weapon information value
Errors
- If weapon_id and type are out of bound, an error will be thrown.