ArrayPushArray

Синтаксис

native ArrayPushArray(Array:which, const any:input[], size = -1);

Употреба

which
Array handle
input
Array to copy to the cellarray
size
If not set, assumes the buffer size is equal to the
cellsize. Otherwise, the specified size is used.

Описание

Creates a new item at the end of the cellarray and copies the provided array
into it.

Забележка

The input will be truncated if it is bigger than the cellsize the array
was created with.

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

Index of the new entry

Грешка

If an invalid handle is provided or the resizing
operation runs out of memory, an error will be thrown.