cs_get_item_alias

Syntax

native bool:cs_get_item_alias(itemid, name[], name_maxlen, altname[] = "", altname_maxlen = 0);

Usage

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

Description

Returns the alias name associated with an item index.

Return

True if alias is found, false otherwise