ArrayGetArray

Синтаксис

native ArrayGetArray(Array:which, item, any:output[], size = -1);

Употреба

which
Array handle
item
Item index in the array
output
Buffer to copy value to
size
If not set, assumes the buffer size is equal to the
cellsize. Otherwise, the specified size is used.

Описание

Retrieves an array of data from a cellarray.

Забележка

If the size parameter is specified as -1 the output buffer has to match
the size the array was created with.

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

Number of cells copied

Грешка

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