mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
Add info about callback function
This commit is contained in:
parent
bee4b47b07
commit
51feb03e1b
@ -1894,6 +1894,11 @@ native remove_user_flags(index, flags = -1, id = 0);
|
||||
* Registers a callback to be called when the client executes a command from the
|
||||
* console.
|
||||
*
|
||||
* @note The function is called in the following manner:
|
||||
* id - Client index
|
||||
* flags - Admin privilege flags set in the "flags" argument
|
||||
* cmd_id - Command index (same as the function's return value)
|
||||
*
|
||||
* @note For a list of possible access flags, see the ADMIN_* constants in
|
||||
* amxconst.inc
|
||||
* @note Opting in to FlagManager enables the admin privileges to be overwritten
|
||||
@ -1920,6 +1925,11 @@ native register_clcmd(const client_cmd[], const function[], flags = -1, const in
|
||||
* Registers a callback to be called when the client or server executes a
|
||||
* command from the console.
|
||||
*
|
||||
* @note The function is called in the following manner:
|
||||
* id - Client index
|
||||
* flags - Admin privilege flags set in the "flags" argument
|
||||
* cmd_id - Command index (same as the function's return value)
|
||||
*
|
||||
* @note For a list of possible access flags, see the ADMIN_* constants in
|
||||
* amxconst.inc
|
||||
* @note Opting in to FlagManager enables the admin privileges to be overwritten
|
||||
@ -1946,6 +1956,11 @@ native register_concmd(const cmd[], const function[], flags = -1, const info[] =
|
||||
* Registers a callback to be called when the server executes a command from the
|
||||
* console.
|
||||
*
|
||||
* @note The function is called in the following manner:
|
||||
* id - Client index
|
||||
* flags - Admin privilege flags set in the "flags" argument
|
||||
* cmd_id - Command index (same as the function's return value)
|
||||
*
|
||||
* @note For a list of possible access flags, see the ADMIN_* constants in
|
||||
* amxconst.inc
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user