get_srvcmdsnum

Syntax

native get_srvcmdsnum(flag);

Usage

flag
Only considers commands that can be accessed with
the specified privilege flags

Description

Returns number of registered server commands.

Note

For a list of possible access flags, see the ADMIN_* constants in
amxconst.inc

Return

Number of registered server commands