native

ArrayInsertCellBefore

Syntax

native ArrayInsertCellBefore(Array:which, item, const any:input);

Description

Creates a new item in front of the specified item and sets the item's single
cell value. All items beyond it get shifted up by one.

Parameters

which Array handle
item Item index in the array
input Value to set

Return

This function has no return value.

Error

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