renamed all the admin menu items

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401606
This commit is contained in:
David Anderson 2007-10-17 02:40:41 +00:00
parent 31d8511904
commit 96cb8cbc38
7 changed files with 35 additions and 34 deletions

View File

@ -8,25 +8,26 @@
{
"PlayerCommands"
{
"item" "Slay"
"item" "Kick"
"item" "Ban"
"item" "Gag/Mute"
"item" "Burn"
"item" "sm_slay"
"item" "sm_kick"
"item" "sm_ban"
"item" "sm_gag"
"item" "sm_burn"
}
"ServerCommands"
{
"item" "Change Map"
"item" "Exec CFG"
"item" "Reload Admins"
"item" "sm_map"
"item" "sm_execcfg"
"item" "sm_reloadadmins"
}
"VotingCommands"
{
"item" "Cancel Vote"
"item" "Map Vote"
"item" "Kick Vote"
"item" "Ban Vote"
"item" "sm_cancelvote"
"item" "sm_votemap"
"item" "sm_votekick"
"item" "sm_voteban"
}
}

View File

@ -87,7 +87,7 @@ public OnAdminMenuReady(Handle:topmenu)
if (player_commands != INVALID_TOPMENUOBJECT)
{
AddToTopMenu(hTopMenu,
"Ban",
"sm_ban",
TopMenuObject_Item,
AdminMenu_Ban,
player_commands,

View File

@ -106,7 +106,7 @@ public OnAdminMenuReady(Handle:topmenu)
if (player_commands != INVALID_TOPMENUOBJECT)
{
AddToTopMenu(hTopMenu,
"Gag/Mute",
"sm_gag",
TopMenuObject_Item,
AdminMenu_Gag,
player_commands,

View File

@ -108,7 +108,7 @@ public OnAdminMenuReady(Handle:topmenu)
if (player_commands != INVALID_TOPMENUOBJECT)
{
AddToTopMenu(hTopMenu,
"Kick",
"sm_kick",
TopMenuObject_Item,
AdminMenu_Kick,
player_commands,
@ -116,7 +116,7 @@ public OnAdminMenuReady(Handle:topmenu)
ADMFLAG_KICK);
AddToTopMenu(hTopMenu,
"Identify",
"sm_who",
TopMenuObject_Item,
AdminMenu_Who,
player_commands,
@ -129,7 +129,7 @@ public OnAdminMenuReady(Handle:topmenu)
if (server_commands != INVALID_TOPMENUOBJECT)
{
AddToTopMenu(hTopMenu,
"Reload Admins",
"sm_reloadadmins",
TopMenuObject_Item,
AdminMenu_ReloadAdmins,
server_commands,
@ -137,7 +137,7 @@ public OnAdminMenuReady(Handle:topmenu)
ADMFLAG_BAN);
AddToTopMenu(hTopMenu,
"Change Map",
"sm_map",
TopMenuObject_Item,
AdminMenu_Map,
server_commands,
@ -145,7 +145,7 @@ public OnAdminMenuReady(Handle:topmenu)
ADMFLAG_CHANGEMAP);
AddToTopMenu(hTopMenu,
"Exec CFG",
"sm_execcfg",
TopMenuObject_Item,
AdminMenu_ExecCFG,
server_commands,
@ -158,7 +158,7 @@ public OnAdminMenuReady(Handle:topmenu)
if (voting_commands != INVALID_TOPMENUOBJECT)
{
AddToTopMenu(hTopMenu,
"Cancel Vote",
"sm_cancelvote",
TopMenuObject_Item,
AdminMenu_CancelVote,
voting_commands,

View File

@ -89,7 +89,7 @@ public OnAdminMenuReady(Handle:topmenu)
if (player_commands != INVALID_TOPMENUOBJECT)
{
AddToTopMenu(hTopMenu,
"Slay",
"sm_slay",
TopMenuObject_Item,
AdminMenu_Slay,
player_commands,
@ -97,7 +97,7 @@ public OnAdminMenuReady(Handle:topmenu)
ADMFLAG_SLAY);
AddToTopMenu(hTopMenu,
"Burn",
"sm_burn",
TopMenuObject_Item,
AdminMenu_Burn,
player_commands,
@ -105,7 +105,7 @@ public OnAdminMenuReady(Handle:topmenu)
ADMFLAG_SLAY);
AddToTopMenu(hTopMenu,
"Slap",
"sm_slap",
TopMenuObject_Item,
AdminMenu_Slap,
player_commands,

View File

@ -146,7 +146,7 @@ public OnAdminMenuReady(Handle:topmenu)
if (voting_commands != INVALID_TOPMENUOBJECT)
{
AddToTopMenu(hTopMenu,
"Gravity Vote",
"sm_votegravity",
TopMenuObject_Item,
AdminMenu_VoteGravity,
voting_commands,
@ -154,7 +154,7 @@ public OnAdminMenuReady(Handle:topmenu)
ADMFLAG_VOTE);
AddToTopMenu(hTopMenu,
"Burn Vote",
"sm_voteburn",
TopMenuObject_Item,
AdminMenu_VoteBurn,
voting_commands,
@ -162,7 +162,7 @@ public OnAdminMenuReady(Handle:topmenu)
ADMFLAG_VOTE|ADMFLAG_SLAY);
AddToTopMenu(hTopMenu,
"Slay Vote",
"sm_voteslay",
TopMenuObject_Item,
AdminMenu_VoteSlay,
voting_commands,
@ -170,7 +170,7 @@ public OnAdminMenuReady(Handle:topmenu)
ADMFLAG_VOTE|ADMFLAG_SLAY);
AddToTopMenu(hTopMenu,
"Alltalk Vote",
"sm_votealltalk",
TopMenuObject_Item,
AdminMenu_VoteAllTalk,
voting_commands,
@ -178,7 +178,7 @@ public OnAdminMenuReady(Handle:topmenu)
ADMFLAG_VOTE);
AddToTopMenu(hTopMenu,
"FF Vote",
"sm_voteff",
TopMenuObject_Item,
AdminMenu_VoteFF,
voting_commands,

View File

@ -156,7 +156,7 @@ public OnAdminMenuReady(Handle:topmenu)
if (voting_commands != INVALID_TOPMENUOBJECT)
{
AddToTopMenu(hTopMenu,
"Kick Vote",
"sm_votekick",
TopMenuObject_Item,
AdminMenu_VoteKick,
voting_commands,
@ -164,7 +164,7 @@ public OnAdminMenuReady(Handle:topmenu)
ADMFLAG_VOTE|ADMFLAG_KICK);
AddToTopMenu(hTopMenu,
"Ban Vote",
"sm_voteban",
TopMenuObject_Item,
AdminMenu_VoteBan,
voting_commands,
@ -172,7 +172,7 @@ public OnAdminMenuReady(Handle:topmenu)
ADMFLAG_VOTE|ADMFLAG_BAN);
AddToTopMenu(hTopMenu,
"Map Vote",
"sm_votemap",
TopMenuObject_Item,
AdminMenu_VoteMap,
voting_commands,