ArrayGetStringHandle
native DoNotUse:ArrayGetStringHandle(Array:which, item);
| Parameter |
Description |
| 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.