AMX Mod X API Documentation

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

Retrieves an array of data from a cellarray.

Notes
  • If the size parameter is specified as -1 the output buffer has to match

    the size the array was created with.

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

Returns

Number of cells copied

Errors
  • If an invalid handle or index is provided an error will

    be thrown.

Назад
Верх