Signature
native rg_get_global_iteminfo(const {WeaponIdType, _}:weapon_id, ItemInfo:type, any:...);
Description
Gets a parameter of the global CBasePlayerItem::m_ItemInfoArray array
Parameters
- weapon_id — Weapon id, see WEAPON_* constants
- type — Item info type. See ItemInfo constants.