Adding missing SetMenuNoVoteButton native declaration (bug 4522, r=asherkin).
This commit is contained in:
parent
6121c098c8
commit
2b207359f9
@ -404,6 +404,16 @@ native bool:GetMenuExitBackButton(Handle:menu);
|
|||||||
*/
|
*/
|
||||||
native SetMenuExitBackButton(Handle:menu, bool:button);
|
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
|
* Cancels a menu from displaying on all clients. While the
|
||||||
|
Loading…
Reference in New Issue
Block a user