json_array_replace_bool

Синтаксис

native bool:json_array_replace_bool(JSON:array, index, bool:boolean);

Употреба

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

Описание

Replaces an element in the array with boolean value.

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

True if succeed, false otherwise

Грешка

If passed handle is not a valid array