native
json_setting_set_int_arr
Syntax
native bool:json_setting_set_int_arr(const file_name_path[], const section[], const key[], Array:array_value = Invalid_Array, const bool:replace = false, const bool:check_type = true);
Description
Defines an array int value for key
Parameters
| file_name_path | .json file path |
|---|---|
| section | section name |
| key | key name |
| array_value | array int values for key |
| replace | true to always replace the key value |
| check_type | false to not check if the value is array |
Return
true if the key was added or replaced successfully, false otherwise