native

ArraySetString

Syntax

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

Description

Sets a string value from an array.
The stored string will be truncated if it is longer than the cellsize the array was created with!
The item must already exist, use ArrayPushString to create a new item within the array.

Parameters

which The array to set the item from within.
item The item to set (zero-based).
input The string to set the item as.