From cb8a6cddeb04b3a912a14168d791b3ffb4f0c640 Mon Sep 17 00:00:00 2001 From: Michael McKoy Date: Thu, 9 Aug 2007 00:38:26 +0000 Subject: [PATCH] MENU_ACTIONS_ALL, lawls. --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401292 --- plugins/basevotes.sp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/plugins/basevotes.sp b/plugins/basevotes.sp index 1f6e1fd9..51401b99 100644 --- a/plugins/basevotes.sp +++ b/plugins/basevotes.sp @@ -131,7 +131,7 @@ public Action:Command_Votemap(client, args) g_voteType = voteType:map; - g_hVoteMenu = CreateMenu(Handler_VoteCallback); + g_hVoteMenu = CreateMenu(Handler_VoteCallback, MENU_ACTIONS_ALL); if (mapCount == 1) { @@ -201,7 +201,7 @@ public Action:Command_Vote(client, args) g_voteType = voteType:question; - g_hVoteMenu = CreateMenu(Handler_VoteCallback); + g_hVoteMenu = CreateMenu(Handler_VoteCallback, MENU_ACTIONS_ALL); SetMenuTitle(g_hVoteMenu, "%s?", g_voteArg); if (answerCount < 2) @@ -269,7 +269,7 @@ public Action:Command_Votekick(client, args) // Temp strcopy(g_votetitle, sizeof(g_votetitle), "Votekick Player"); - g_hVoteMenu = CreateMenu(Handler_VoteCallback); + g_hVoteMenu = CreateMenu(Handler_VoteCallback, MENU_ACTIONS_ALL); SetMenuTitle(g_hVoteMenu, "Votekick Player"); AddMenuItem(g_hVoteMenu, "No", "Yes"); AddMenuItem(g_hVoteMenu, "No", "No"); @@ -327,7 +327,7 @@ public Action:Command_Voteban(client, args) // Temp strcopy(g_votetitle, sizeof(g_votetitle), "Voteban Player"); - g_hVoteMenu = CreateMenu(Handler_VoteCallback); + g_hVoteMenu = CreateMenu(Handler_VoteCallback, MENU_ACTIONS_ALL); SetMenuTitle(g_hVoteMenu, "Voteban Player"); AddMenuItem(g_hVoteMenu, "No", "Yes"); AddMenuItem(g_hVoteMenu, "No", "No"); @@ -345,7 +345,6 @@ public Handler_VoteCallback(Handle:menu, MenuAction:action, param1, param2) } else if (action == MenuAction_Display) { - PrintToChatAll("Inside display"); if (g_voteType != voteType:question) { decl String:title[64];