Hello Guys, I tried to make a custom menu for Sourcemod which groups maps togheter.
So we got:
PlayerCommands
ServerCommands
VotingCommands
I want either in "ServerCommands -> Maps" or an extra cat. called "Maps".
In there I can select "Aim" "AWP" "Knife".
So if I press "Aim" it should list me all available "aim_maps" that I specified in an extra file. (Those maps are from workshop, filled in with single maps, not a collection)
The first problem that I got is that under the "VotingCommands" is "maps". But I want the "maps" to be "Maps".
Second and biggest problem is that I can go to "Maps" where it shows me the other menu items. But when I press on "Aim" now, the sound goes off but nothing happens.
This is what I've got so far:
Code:
"Commands"
{
"Maps"
{
"Aim"
{
"cmd" "sm_map"
"admin" "sm_map"
"execute" "server"
"1"
{
"type" "mapcycle"
"path" "/cfg/cfg/aimmaps.txt"
}
}
}
W0rm