native

ezjson_array_replace_value

Syntax

native bool:ezjson_array_replace_value(EzJSON:array, index, const EzJSON:value);

Description

Replaces an element in the array with value.

Parameters

array Array handle
index Position in the array to be replaced
value EzJSON handle to set

Return

True if succeed, false otherwise

Error

If passed handle is not a valid array