native

json_array_remove

Syntax

native bool:json_array_remove(JSON:array, index);

Description

Removes an element from the array.

Parameters

array Array handle
index Position in the array (starting from 0)

Note

Order of values in array may change during execution.

Return

True if succeed, false otherwise

Error

If passed handle is not a valid array