AMX Mod X API Documentation

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

Returns an item name associated with a command alias.

Notes
  • The alias is case sensitive.
  • If not an alias to a weapon, buffer will be set with the original alias.
Parameters
  • alias Alias name
  • itemname Buffer to store item name to
  • maxlength Maximum buffer size
Returns

True if alias is translated, false otherwise

Назад
Верх