Hi, could someone guide me where I'm going wrong. I'm trying to create a menu for players to vote for the right cfg file. This is my code, but in game, it asks me, vote for #1 as the CFG and in console, it says exec "1", 1 not found, not executing. Here is my config.
Code:
"voteconfig"
{
"title" "Choose #1 Config?"
"type" "confirm"
"command" "exec #1"
"trigger"
{
"command" "voteconfig"
"notice" "#1 has been voted as the CFG"
"percent" "10"
}
"params"
{
"type" "list"
"title" "Choose the right config"
"server.cfg" "Standard Server Setup"
"ugc_HL_base.cfg" "UGC Highlander Base"
"ugc_HL_ctf.cfg" "UGC Highlander Ctf"
"ugc_HL_custom.cfg" "UGC Highlander Custom"
"ugc_HL_koth.cfg" "UGC Highlander Koth"
"ugc_HL_standard.cfg" "UGC Highlander Standard"
"ugc_HL_stopwatch.cfg" "UGC Highlander Stopwatch"
"ugc_HL_tugofwar.cfg" "UGC Highlander Tug-of-War"
"ugc_off.cfg" "UGC Highlander Off"
"ugc_6v_base.cfg" "UGC 6v6 Base"
"ugc_6v_ctf.cfg" "UGC 6v6 Ctf"
"ugc_6v_custom.cfg" "UGC 6v6 Custom"
"ugc_6v_golden.cfg" "UGC 6v6 Golden"
"ugc_6v_koth.cfg" "UGC 6v6 Koth"
"ugc_6v_standard.cfg" "UGC 6v6 Standard"
"ugc_6v_stopwatch.cfg" "UGC 6v6 Stopwatch"
}
}