json_array_replace_string
Syntax
native bool:json_array_replace_string(JSON:array, index, const string[]);
Usage
| Parameter | Description |
|---|---|
| array | Array handle |
| index | Position in the array to be replaced |
| string | String to copy |
Description
Replaces an element in the array with string data.
Return
True if succeed, false otherwise
Error
If passed handle is not a valid array