Hello everyone. I need to add another category to the existing category (SuperAdmin) and add items to it.
Please tell me how to do this in the adminmenu_custom.txt?
Desired structure:
Code:
SuperAdmin -> Custom Votes -> | -> Vote For Round 1
| -> Vote For Round 2
| -> Vote For Round 3
| -> etc.
I tried it like this
Code:
"Commands"
{
"SuperAdmin"
{
"admin" "sm_burn"
"Custom Votes"
{
"Deagle"
{
"admin" "sm_burn"
"cmd" "sm_vote Deagle_round Default SlowMo"
"execute" "player"
}
"Scouts"
{
"admin" "sm_burn"
"cmd" "sm_vote Scouts Default NoZoom"
"execute" "player"
}
}
}
}
In this case, the item "Custom Votes" appears, but when I click on it nothing happens.
I read the documentation on the wiki but didn't find my case there
https://wiki.alliedmods.net/Custom_A...enu_(SourceMod)