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