native

cs_get_translated_item_alias

Syntax

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

Description

Returns an item name associated with a command alias.

Parameters

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

Note

The alias is case sensitive.

Note

If not an alias to a weapon, buffer will be set with the original alias.

Return

True if alias is translated, false otherwise