Signature
native ArrayInsertStringBefore(Array:which, item, const input[]);
Description
Creates a new item in front of the specified item and copies the provided
string into it. All items beyond it get shifted up by one.
Notes
-
The input will be truncated if it is longer than the cellsize the array
was created with.
Parameters
- which — Array handle
- item — Item index in the array
- input — String to copy to the array
No return value
Errors
-
If an invalid handle or an invalid index is provided an
error will be thrown.