mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
Add missing menu callback information
This commit is contained in:
parent
bee4b47b07
commit
e4db1231b0
@ -603,6 +603,13 @@ stock get_datadir(name[], len)
|
||||
/**
|
||||
* Provides a shorthand to register a working menu.
|
||||
*
|
||||
* @note The function is called in the following manner:
|
||||
* id - Client index
|
||||
* key - Menu key pressed
|
||||
*
|
||||
* @note For a list of possible menu key, see the MENU_KEY_* constants in
|
||||
* amxconst.inc
|
||||
*
|
||||
* @note Combines the necessary calls to register_menuid() and
|
||||
* register_menucmd() into a single function.
|
||||
*
|
||||
|
@ -2096,6 +2096,13 @@ native register_menuid(const menu[], outside = 0);
|
||||
/**
|
||||
* Registers a callback function to a menu id and keys.
|
||||
*
|
||||
* @note The function is called in the following manner:
|
||||
* id - Client index
|
||||
* key - Menu key pressed
|
||||
*
|
||||
* @note For a list of possible menu key, see the MENU_KEY_* constants in
|
||||
* amxconst.inc
|
||||
*
|
||||
* @param menuid Menu id
|
||||
* @param keys Key flags
|
||||
* @param function Callback function
|
||||
|
Loading…
Reference in New Issue
Block a user