menu_additem
Adds an item to a menu.
Syntax
native menu_additem(menu, const name[], const info[]="", paccess=0, callback=-1)
Usage
| menu | Menu resource identifier. |
| name | Item text to display. |
| info | Item info string for internal information. |
| paccess | Access required by the player viewing the menu. |
| callback | If set to a valid ID from menu_makecallback(), the |
Return
This function has no return value.
Errors
Invalid menu resource.
Defined in
newmenus.inc
at line 158
.
This documentation was automatically generated from source.