mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-02-16 08:48:51 +03:00
Update newmenus.inc
This commit is contained in:
parent
a1240863a4
commit
05150cde0f
@ -367,6 +367,19 @@ native menu_addtext2( menu, const text[] );
|
|||||||
*/
|
*/
|
||||||
native menu_setprop(menu, prop, ...);
|
native menu_setprop(menu, prop, ...);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets a menu property.
|
||||||
|
*
|
||||||
|
* @note MPROP_EXIT requires 2 additional integer parameters to be passed.
|
||||||
|
*
|
||||||
|
* @param menu Menu resource identifier.
|
||||||
|
* @param prop MPROP_ constant.
|
||||||
|
* @param ... Property parameters.
|
||||||
|
* @return Menu property if the property type is an integer.
|
||||||
|
* @error Invalid menu resource or property.
|
||||||
|
*/
|
||||||
|
native menu_getprop(menu, prop, ...);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cancels a player's menu, effectively forcing the player to select MENU_EXIT.
|
* Cancels a player's menu, effectively forcing the player to select MENU_EXIT.
|
||||||
* The menu will still exist on their screen but any results are invalidated,
|
* The menu will still exist on their screen but any results are invalidated,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user