Update newmenus.inc

This commit is contained in:
OciXCrom 2018-07-28 13:59:37 +02:00 committed by GitHub
parent e6c6021d1e
commit 085037451f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -359,11 +359,11 @@ native menu_addtext2( menu, const text[] );
/** /**
* Sets a menu property. * Sets a menu property.
* *
* @param menu Menu resource identifier. * @param menu Menu resource identifier.
* @param prop MPROP_ constant. * @param prop MPROP_ constant.
* @param ... Property parameters. * @param ... Property parameters.
* @return 1 on success, 0 on failure. * @return 1 on success, 0 on failure.
* @error Invalid menu resource or property. * @error Invalid menu resource or property.
*/ */
native menu_setprop(menu, prop, ...); native menu_setprop(menu, prop, ...);
@ -379,9 +379,9 @@ native menu_setprop(menu, prop, ...);
* *
* @param menu Menu resource identifier. * @param menu Menu resource identifier.
* @param prop MPROP_ constant. * @param prop MPROP_ constant.
* @param ... Property parameters. * @param ... Property parameters.
* @return Menu property if the property type is an integer. * @return Menu property if the property type is an integer.
* @error Invalid menu resource, invalid property or invalid amount of parameters. * @error Invalid menu resource, invalid property or invalid amount of parameters.
*/ */
native menu_getprop(menu, prop, ...); native menu_getprop(menu, prop, ...);
@ -390,8 +390,8 @@ native menu_getprop(menu, prop, ...);
* 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,
* and the callback is invoked. * and the callback is invoked.
* *
* @param player Client index. * @param player Client index.
* @noreturn * @noreturn
* @error Invalid client index. * @error Invalid client index.
*/ */
native menu_cancel(player); native menu_cancel(player);