get_concmdsnum
- Синтаксис
-
native get_concmdsnum(flag, id = -1);
Переменная | Описание |
---|---|
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 |
- Описание
- Returns number of registered console commands.
- Пометка
-
For a list of possible access flags, see the ADMIN_* constants in amxconst.inc
- Возвращает
- Number of registered console commands