cs_get_translated_item_alias

Syntax

native bool:cs_get_translated_item_alias(const alias[], itemname[], maxlength);

Usage

Parameter Description
alias
Alias name
itemname
Buffer to store item name to
maxlength
Maximum buffer size

Description

Returns an item name associated with a command alias.

Note

  • The alias is case sensitive.
  • If not an alias to a weapon, buffer will be set with the original alias.

Return

True if alias is translated, false otherwise