weird, going by the example. i made a new file called adminmenu_custom.txt and added the following into it:
"Commands"
{
"Fun Commands"
{
"Set Player Speed"
{
"cmd" "sm_speed #1 @2"
"admin" "sm_kick"
"execute" "player"
"1"
{
"type" "groupplayer"
"method" "name"
"title" "Player/Team to Edit"
}
"2"
{
"type" "list"
"title" "Speed Multiplier"
"1" "1.0"
"1." "Normal"
"2" "0.8"
"2." "80%"
"3" "0.5"
"3." "Half"
"4" "1.5"
"4." "50% Boost"
"5" "2.0"
"5." "Double"
"5*" "sm_ban"
//restrict the double option to admins who have access to the 'sm_ban' override
}
}
}
}
just to see what would happen.. didn't add another category, but now player commands is missing stuff and voting commands dont work at all. after creating the file and adding in your options, must you edit the sorting file as well?
Quote:
Admins configure their menu using the config file (sourcemod/configs/adminmenu_custom.txt) and this is generated into a set of items and categories for the admin menu when the server starts.
|