native

json_setting_get_float

Syntax

native bool:json_setting_get_float(const file_name_path[], const section[], const key[], &Float:float_value, const bool:check_type = true);

Description

Returns the float value of the key

Parameters

file_name_path .json file path
section section name
key key name
float_value float return variable
check_type false to not check if the value is float

Return

true if the section and key exists, false otherwise