Update newmenus.inc

This commit is contained in:
OciXCrom 2018-07-27 16:39:14 +02:00 committed by GitHub
parent a1240863a4
commit 05150cde0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -367,6 +367,19 @@ native menu_addtext2( menu, const text[] );
*/
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.
* The menu will still exist on their screen but any results are invalidated,