ArrayGetStringHandle

Синтаксис

native DoNotUse:ArrayGetStringHandle(Array:which, item);

Употреба

which
Array handle
item
Item to retrieve handle of

Описание

Creates a special handle that can be passed to a string format routine for
printing as a string (with the %a format option).

Забележка

It is recommended to pass the function as a parameter to the format
routine directly. The array item must contain a null-terminated string!

Забележка

Do not save or otherwise use the handles returned by this function.

Забележка

Example usage:
console_print(id, "%a", ArrayGetStringHandle(MessageArray, i));

Връщаща стойност

Handle to the item

Грешка

If an invalid handle or an invalid index is provided an
error will be thrown.