It works in a sense, but there are a few issues that isn't making the vote complete.
It is reading it as non-continuous votes
For example, they vote for the category and say Skill wins, then it shows that skill won- but no skill maps appear after to be able to vote for. I put it into a .cfg called mapvoting and put this inside it
Code:
"Votes"
{
"votemap_categories"
{
"title" "for the next map please choose a category"
"command" "sm_cvote votemap_#1"
"options"
{
"traditional" "Traditional"
"fun" "Surf"
"skill" "Fun/Other"
"deathmatch" "Deathmatch"
}
}
"votemap_traditional"
{
"title" "Choose a traditional map"
"command" "sm_setnextmap #1"
"options"
{
"cp_dustbowl" "cp_dustbowl"
"pl_goldrush" "pl_goldrush"
"cp_gravelpit" "cp_gravelpit"
"ctf_2fort" "ctf_2fort"
"cp_fastlane" "cp_fastlane"
"ctf_turbine" "ctf_turbine"
"cp_badlands" "cp_badlands"
"cp_granary" "cp_granary"
"cp_well" "cp_well"
"tc_hydo" "tc_hydo"
}
}
"votemap_surf"
{
"title" "Choose a surf map"
"command" "sm_setnextmap #1"
"options"
{
"surf_air_arena_v3" "surf_air_arena_v3"
}
}
"votemap_fun"
{
"title" "Choose a fun map"
"command" "sm_setnextmap #1"
"options"
{
"ctf_hallofdeath" "ctf_hallofdeath"
"falling_cp" "falling_cp"
"MARIO_KART" "MARIO_KART"
}
}
"votemap_deathmatch"
{
"title" "Choose a deathmatch map"
"command" "sm_setnextmap #1"
"options"
{
"gpt_classrestrict_tdm" "gpt_classrestrict_tdm"
}
}
}