native

ArrayResize

Syntax

native bool:ArrayResize(Array:which, newsize);

Description

Resizes an array.

Parameters

which Array handle
newsize New size

Note

If the size is smaller than the current array size the array is
truncated and data lost.

Return

This function has no return value.

Error

If an invalid handle is provided or the resizing
operation runs out of memory, an error will be thrown.