native ArraySetArray(Array:which, item, const any:input[], size =-1);
which | Array handle |
item | Item index in the array |
input | Array to copy to the cellarray |
size | If not set, assumes the buffer size is equal to the cellsize. Otherwise, the specified size is used. |
Fills an item's data with the contents of an array.
If the size parameter is specified as -1 the input buffer has to match the size the array was created with.
The item index must already be valid. Use ArrayPushArray to create a new array item in the cellarray.
Number of cells copied
If an invalid handle or an invalid index is provided an error will be thrown.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.