# HG changeset patch # User Tony # Date 1338079866 -3600 # Node ID c72cfe0c6a57df21c1559132964facdf938227cb # Parent f5494c3281588cdb25a72eee435d9b5b6631ff4d Adding missing SetMenuNoVoteButton native declaration (bug 4522, r=asherkin). diff -r f5494c328158 -r c72cfe0c6a57 plugins/include/menus.inc --- a/plugins/include/menus.inc Sun May 27 01:51:03 2012 +0100 +++ b/plugins/include/menus.inc Sun May 27 01:51:06 2012 +0100 @@ -404,6 +404,16 @@ */ 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