AMX Mod X API Documentation

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

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

into it.

Notes
  • The input will be truncated if it is bigger than the cellsize the array

    was created with.

Parameters
  • 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.

Returns

Index of the new entry

Errors
  • If an invalid handle is provided or the resizing

    operation runs out of memory, an error will be thrown.

Назад
Верх