native any:cs_get_item_id(const name, &CsWeaponClassType:classid = CS_WEAPONCLASS_NONE);
Alias or classname
If item is a weapon, variable to store the associated weapon class id in (CS_WEAPONCLASS_* constants)
Returns the item id associated with an item name and its aliases.
The item name is case sensitive an can be with or without weapon_ and item_ prefixes. This can be a command alias as well. Values examples: ak47, weapon_ak47, kevlar, item_kevlar, vest, bullpup, ...
Item id (CSI_* constants)
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.