AMX Mod X API Documentation

Signature
native ArraySetCell(Array:which, item, any:input, block = 0, bool:asChar = false);
Description

Sets an item's data to a single cell value.

Notes
  • The item index must already be valid. Use ArrayPushArray to create

    a new array item in the cellarray.

Parameters
  • which Array handle
  • item Item index in the array
  • input Value to set
  • block If the array has a cellsize >1 this optionally specifies

    which block to write to

  • asChar If true writes the value as a byte instead of a cell
No return value
Errors
  • If an invalid handle, index or block is provided an

    error will be thrown.

Назад
Верх