native show_menu(index, keys, const menu, time = -1, const title = "");
Client to display menu to, use 0 to display to all clients
Menu timeout in seconds, -1 to disable
Name of the menu for internal tracking purposes
- Displays a menu to the client.
Keys is a bitflag value that represents which keys the user can press on the menu. If you want to display disabled menu options, or skip certain number slots, you should exclude that key from the bitflag. amxconst.inc provides MENU_KEY_* constants for convenience.
The title parameter is not displayed to the client and is only used for identifying menus internally and assigning them to their callbacks. The title corresponds to the menu name that you register with register_menuid()
- 1 on success, 0 if menu could not be displayed (client not connected)