menu_create
Creates a new menu object.
Syntax
native menu_create(const title[], const handler[], bool:ml = false)
Usage
| title | Title the menu should use. |
| handler | Name of the handler function. The function will be invoked |
| ml | If true, the menu title and items will be looked up as multilingual keys |
Return
Menu — resource identifier which must be destroyed via
Notes
The handler function should be prototyped as:
The handler function should always return PLUGIN_HANDLED to block
Errors
Function name not found.
Defined in
newmenus.inc
at line 127
.
This documentation was automatically generated from source.