From 2b207359f92b2577e3ba58b7f33f1d50b27100bb Mon Sep 17 00:00:00 2001 From: Tony Date: Sun, 27 May 2012 01:51:06 +0100 Subject: [PATCH] Adding missing SetMenuNoVoteButton native declaration (bug 4522, r=asherkin). --- plugins/include/menus.inc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/plugins/include/menus.inc b/plugins/include/menus.inc index 7ea017b7..a685c3dc 100644 --- a/plugins/include/menus.inc +++ b/plugins/include/menus.inc @@ -404,6 +404,16 @@ native bool:GetMenuExitBackButton(Handle:menu); */ native SetMenuExitBackButton(Handle:menu, bool:button); +/** + * Sets whether or not the menu has a "no vote" button in slot 1. + * By default, menus do not have a no vote button. + * + * @param menu Menu Handle. + * @param button True to enable the button, false to remove it. + * @return True if allowed; false on failure. + * @error Invalid Handle. + */ +native bool:SetMenuNoVoteButton(Handle:menu, bool:button); /** * Cancels a menu from displaying on all clients. While the