json_array_replace_value

Синтаксис

native bool:json_array_replace_value(JSON:array, index, const JSON:value);

Употреба

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

Описание

Replaces an element in the array with value.

Връщаща стойност

True if succeed, false otherwise

Грешка

If passed handle is not a valid array