Signature
native bool:cs_get_item_alias(itemid, name[], name_maxlen, altname[] = "", altname_maxlen = 0);
Description
Returns the alias name associated with an item index.
Parameters
- itemid — Item id (CSI_* constants)
- name — Buffer to store alias name to
- name_maxlen — Maximum buffer size
- altname — Optional buffer to store if available alternative alias name to
- altname_maxlen — Maximum buffer size
Returns
True if alias is found, false otherwise