native register_clcmd(const client_cmd, const function, flags = -1, const info = "", FlagManager = -1);
Command to register
Admin privilege flags required
0 opts out of flag manager, 1 opts in, -1 selects
Registers a callback to be called when the client executes a command from the
For a list of possible access flags, see the ADMIN_* constants in
Opting in to FlagManager enables the admin privileges to be overwritten
by the end user via the cmdaccess.ini config file.
Automatic detection for FlagManager will only include a command if it
has required privileges (flags is not -1) and it is not a command
starting with "say".
Command id, 0 on failure
If an invalid callback function is specified, an error
will be thrown.