ArraySetCell

Синтаксис

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

Употреба

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

Описание

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

Забележка

The item index must already be valid. Use ArrayPushArray to create
a new array item in the cellarray.

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

Тази функция няма връщаща стойност.

Грешка

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