MENU_ACTIONS_ALL, lawls.
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401292
This commit is contained in:
parent
87ba626fe5
commit
cb8a6cddeb
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user