Signature
native any:rg_get_weapon_info(any:...);
Description
Returns specific information about the weapon.
Notes
- weapon_* name can only be used to get WI_ID
Parameters
- weapon — name or id Weapon id, see WEAPON_* constants, WeaponIdType or weapon_* name
- WpnInfo:type — Info type, see WI_* constants
Returns
Weapon information
Errors
- If weapon_id or type are out of bounds, an error will be thrown