iGANGNAM
07-05-2016, 18:35
"root"
{
"cvars"
{
"status" "success"
"pre-warmup"
{
"sv_disable_show_team_select_menu" "0"
"mp_roundtime" "5.0"
"sv_talk_enemy_living" "1"
"sv_talk_enemy_dead " "1"
}
"post-warmup"
{
"sv_talk_enemy_living" "1"
"sv_talk_enemy_dead " "1"
}
}
}
.........................
kv.GotoFirstSubKey(false);
do {
kv.GetString(NULL_STRING, temp_string2, PLATFORM_MAX_PATH);
kv.GetSectionSymbol(temp_id);
kv.GetNameSymbol(temp_id, temp_string, PLATFORM_MAX_PATH);
#if defined DEBUG
#endif
FindConVar(temp_string);
if (hndl == null) {
LogError("Cvar not found. ID: %d, Cvar: %s", temp_string, temp_string2);
} else {
hndl.SetString(temp_string2, true);
#if defined DEBUG
LogMessage("CVAR: %s %s", temp_string, temp_string2);
#endif
}
} while (kv.GotoNextKey(false));
.............
L 07/05/2016 - 18:25:02: [plugin.smx] Cvar not found. Cvar: 0, Value: 0
L 07/05/2016 - 18:25:02: [plugin.smx] Cvar not found. Cvar: 0, Value: 5.0
L 07/05/2016 - 18:25:02: [plugin.smx] Cvar not found. Cvar: 0, Value: 1
L 07/05/2016 - 18:25:02: [plugin.smx] Cvar not found. Cvar: 0, Value: 1
{
"cvars"
{
"status" "success"
"pre-warmup"
{
"sv_disable_show_team_select_menu" "0"
"mp_roundtime" "5.0"
"sv_talk_enemy_living" "1"
"sv_talk_enemy_dead " "1"
}
"post-warmup"
{
"sv_talk_enemy_living" "1"
"sv_talk_enemy_dead " "1"
}
}
}
.........................
kv.GotoFirstSubKey(false);
do {
kv.GetString(NULL_STRING, temp_string2, PLATFORM_MAX_PATH);
kv.GetSectionSymbol(temp_id);
kv.GetNameSymbol(temp_id, temp_string, PLATFORM_MAX_PATH);
#if defined DEBUG
#endif
FindConVar(temp_string);
if (hndl == null) {
LogError("Cvar not found. ID: %d, Cvar: %s", temp_string, temp_string2);
} else {
hndl.SetString(temp_string2, true);
#if defined DEBUG
LogMessage("CVAR: %s %s", temp_string, temp_string2);
#endif
}
} while (kv.GotoNextKey(false));
.............
L 07/05/2016 - 18:25:02: [plugin.smx] Cvar not found. Cvar: 0, Value: 0
L 07/05/2016 - 18:25:02: [plugin.smx] Cvar not found. Cvar: 0, Value: 5.0
L 07/05/2016 - 18:25:02: [plugin.smx] Cvar not found. Cvar: 0, Value: 1
L 07/05/2016 - 18:25:02: [plugin.smx] Cvar not found. Cvar: 0, Value: 1