Adding missing SetMenuNoVoteButton native declaration (bug 4522, r=asherkin).
Adding missing SetMenuNoVoteButton native declaration (
bug 4522, r=asherkin).
1.1 --- a/plugins/include/menus.inc Sun May 27 01:51:03 2012 +0100
1.2 +++ b/plugins/include/menus.inc Sun May 27 01:51:06 2012 +0100
1.3 @@ -404,6 +404,16 @@
1.4 */
1.5 native SetMenuExitBackButton(Handle:menu, bool:button);
1.6
1.7 +/**
1.8 + * Sets whether or not the menu has a "no vote" button in slot 1.
1.9 + * By default, menus do not have a no vote button.
1.10 + *
1.11 + * @param menu Menu Handle.
1.12 + * @param button True to enable the button, false to remove it.
1.13 + * @return True if allowed; false on failure.
1.14 + * @error Invalid Handle.
1.15 + */
1.16 +native bool:SetMenuNoVoteButton(Handle:menu, bool:button);
1.17
1.18 /**
1.19 * Cancels a menu from displaying on all clients. While the