native
ArrayPushString
Syntax
native ArrayPushString(Array:which, const input[]);
Description
Creates a new item at the end of the array and copies the provided string
into it.
Parameters
| which | Array handle |
|---|---|
| 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.
Return
Index of the new entry
Error
If an invalid handle is provided or the resizing
operation runs out of memory, an error will be thrown.