native

ArraySetString

Syntax

native ArraySetString(Array:which, item, const input[]);

Description

Sets an item's data to a string value.

Parameters

which Array handle
item Item index in the array
input String to copy to the array

Note

The input will be truncated if it is longer than the cellsize the array
was created with.

Note

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

Return

Number of characters copied

Error

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