native get_concmd(index, cmd[], len1, &flags, info[], len2, flag, id = -1, &bool:info_ml = false);
index | Command index |
command | Buffer to copy command name to |
len1 | Maximum name buffer size |
flags | Variable to store privilege flags to |
info | Buffer to copy command description to |
len2 | Maximum description buffer size |
flag | Only considers commands that can be accessed with the specified privilege flags |
id | If set to 0 only server commands will be considered, positive will only consider client commands, otherwise all console commands will be considered |
info_ml | Variable to store whether the parameter "info" is a multilingual key |
Retrieves information about a console command.
For a list of possible access flags, see the ADMIN_* constants in amxconst.inc
1 on success, 0 if command was not found
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.