mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +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.
|
* 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
|
* @note Combines the necessary calls to register_menuid() and
|
||||||
* register_menucmd() into a single function.
|
* 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.
|
* 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 menuid Menu id
|
||||||
* @param keys Key flags
|
* @param keys Key flags
|
||||||
* @param function Callback function
|
* @param function Callback function
|
||||||
|
Loading…
Reference in New Issue
Block a user