diff --git a/plugins/include/amxmisc.inc b/plugins/include/amxmisc.inc index 2510afe9..a1b25b36 100755 --- a/plugins/include/amxmisc.inc +++ b/plugins/include/amxmisc.inc @@ -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. * diff --git a/plugins/include/amxmodx.inc b/plugins/include/amxmodx.inc index 16572616..b7d4b893 100755 --- a/plugins/include/amxmodx.inc +++ b/plugins/include/amxmodx.inc @@ -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