native
json_array_replace_real
Syntax
native bool:json_array_replace_real(JSON:array, index, Float:number);
Description
Replaces an element in the array with real number.
Parameters
| array | Array handle |
|---|---|
| index | Position in the array to be replaced |
| number | Real number to set |
Return
True if succeed, false otherwise
Error
If passed handle is not a valid array