native

ArrayGetStringHandle

Syntax

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

Description

Creates a handle that is passable to a format compliant routine for printing as a string (with the %a format option).
It is suggested to pass the function directly as a parameter to the format routine.
The array contents must be a null-terminated string!

An example usage: client_print(id, print_chat, "%a", ArrayGetStringHandle(MessageArray, i));

Parameters

which The array the string is stored in.
item Which item to print the string value of.

Return

Handle to the item directly. Do not use or save stale handles.