Adding missing SetMenuNoVoteButton native declaration (bug 4522, r=asherkin).
authorTony <aangione@gmail.com>
Sun May 27 01:51:06 2012 +0100 (2012-05-27)
changeset 3510c72cfe0c6a57
parent 3509 f5494c328158
child 3511 c9fd86b6bec3
Adding missing SetMenuNoVoteButton native declaration (bug 4522, r=asherkin).
plugins/include/menus.inc
     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