Menu within a menu? +Help
Is this possible, Can you have a menu then a sub-menu in the custom menu?
Like:
Also why doesn't a menu i put in show up?
The menu is this:
It just will not show up, I have 7 sub-menus in the admin menu at the moment (excluding that one) Is that why?
Like:
Code:
"Plugin controls (Top admins only)"
{
"Server"
{
"Adverts On/off"
{
"cmd" "sm_advertisements_enabled #1"
"admin" "sm_ban"
"execute" "server"
"1"
{
"Type" "onoff"
"Title" "Adverts:"
}
}
}
"Gameplay"
}
"Melee mode vote"
{
"cmd" "votemelee"
"admin" "sm_ban"
"execute" "server"
}
}
}
The menu is this:
Code:
"Bot menu"
{
"bot quota"
{
"cmd" "tf_bot_quota #1"
"admin" "sm_ban"
"1"
{
"type" "list"
"title" "Player value"
"1" "12"
"1." "12"
"2" "24"
"2." "24
}
}
"Add bots"
{
"cmd" "tf_bot_add 1# 2# 3# 4#"
"admin" "sm_ban"
"1"
{
"type" "list"
"title" "How meany"
"1" "1"
"1." "1"
"2" "2"
"2." "2"
"3" "3"
"3." "3"
"4" "4"
"4." "4"
}
"2"
{
"type" "list"
"title" "Class:"
"1" "Demoman"
"1." "Demoman"
"2" "Engineer"
"2." "Engineer"
"3" "HeavyWeapons"
"3." "Heavy"
"4" "Medic"
"4." "Medic"
"5" "Pyro"
"5." "Pyro"
"6" "Scout"
"6." "Scout"
"7" "Soldier"
"7." "Soldier"
"8" "Sniper"
"8." "Sniper"
"9" "Spy"
"9." "Spy"
}
"3"
{
"tpye" "list"
"title" "Team:"
"1" "Blue"
"1." "Blue"
"2" "Red"
"2." "Red"
}
"4"
{
"type" "list"
"Title" "difficulty:"
"1" "Easy"
"1." "Easy"
"2" "Normal"
"2." "Normal"
"3" "Hard"
"3." "Hard"
}
}
"Force class after death"
{
"cmd" "tf_bot_force_class #1"
"admin" "sm_ban"
"1"
{
"type" "list"
"title" "Class:"
"1" "Demoman"
"1." "Demoman"
"2" "Engineer"
"2." "Engineer"
"3" "HeavyWeapons"
"3." "Heavy"
"4" "Medic"
"4." "Medic"
"5" "Pyro"
"5." "Pyro"
"6" "Scout"
"6." "Scout"
"7" "Soldier"
"7." "Soldier"
"8" "Sniper"
"8." "Sniper"
"9" "Spy"
"9." "Spy"
}
}
"Kick all bots"
{
"cmd" "tf_bot_kick all"
"admin" "sm_kick"
}
"Kick bot"
{
"cmd" "tf_bot_kick #1"
"admin" "sm_kick"
"1"
{
"type" "player"
"method" "name"
"title" "Bot to kick:"
}
}
}
}
Orignal From: Menu within a menu? +Help
Post a Comment