Signature
native ArrayPushString(Array:which, const input[]);
Description
Creates a new item at the end of the array and copies the provided string
into it.
Notes
-
The input will be truncated if it is longer than the cellsize the array
was created with.
Parameters
- which — Array handle
- input — String to copy to the array
Returns
Index of the new entry
Errors
-
If an invalid handle is provided or the resizing
operation runs out of memory, an error will be thrown.