mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-02-19 10:18:52 +03:00
Update newmenus.inc
This commit is contained in:
parent
b8c540a450
commit
e6c6021d1e
@ -370,11 +370,18 @@ native menu_setprop(menu, prop, ...);
|
|||||||
/**
|
/**
|
||||||
* Gets a menu property.
|
* Gets a menu property.
|
||||||
*
|
*
|
||||||
|
* @note If the value of the property is a string, you should pass
|
||||||
|
* two additional parameters - one for the buffer and another one
|
||||||
|
* for the buffer length. Integer values are directly returned by
|
||||||
|
* the function, so no extra parameters are required.
|
||||||
|
* Example #1: menu_getprop(iMenu, MPROP_TITLE, szTitle, charsmax(szTitle))
|
||||||
|
* Example #2: new iPerPage = menu_getprop(iMenu, MPROP_PERPAGE)
|
||||||
|
*
|
||||||
* @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 or property.
|
* @error Invalid menu resource, invalid property or invalid amount of parameters.
|
||||||
*/
|
*/
|
||||||
native menu_getprop(menu, prop, ...);
|
native menu_getprop(menu, prop, ...);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user