Added amb1167: menu_addtext(menu, const text[], slot=1)

This commit is contained in:
Steve Dudenhoeffer
2008-04-27 19:19:53 +00:00
parent 1d7cbd4203
commit 9100ec753c
3 changed files with 104 additions and 7 deletions

View File

@ -227,6 +227,18 @@ native player_menu_info(id, &menu, &newmenu, &menupage=0);
*/
native menu_addblank(menu, slot=1);
/**
* Adds a text line to a menu. Only available in amxmodx 1.8.1 and above.
*
* @param menu Menu resource identifier.
* @param text Text to add.
* @param slot 1 (default) if the line should shift the numbering down.
* 0 if the line should be a visual shift only.
* @noreturn
* @error Invalid menu resource.
*/
native menu_addtext(menu, const text[], slot=1);
/**
* Sets a menu property.
*