rg_set_global_iteminfo

Sets a parameter of the global CBasePlayerItem::m_ItemInfoArray array

Syntax

native rg_set_global_iteminfo(const {WeaponIdType,_}:weapon_id, ItemInfo:type, any:...)

Usage

WeaponIdType
weapon_id Weapon id, see WEAPON_* constants
type Item info type. See ItemInfo constants.

Notes

To have effect on client side (i.g. ammo size on HUD) you should

Defined in reapi_gamedll.inc at line 913 . This documentation was automatically generated from source.