native

ArrayInsertCellBefore

Syntax

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

Description

Inserts an item before the selected item. All items beyond it, and the selected item get shifted up 1 space.
Use this only on an array that was created with a cellsize of 1!

Parameters

which The array to add the item to.
item The item to insert after.
input The value to set.