Signature
native any:ArrayGetCell(Array:which, item, block = 0, bool:asChar = false);
Description
Returns a single cell of data from an array
Parameters
- which — Array handle
- item — Item index in the array
-
block
—
If the array has a cellsize >1 this optionally specifies
which block to read from
- asChar — If true reads the value as a byte instead of a cell
Returns
Integer value
Errors
-
If an invalid handle, index or block is provided an
error will be thrown.