native

register_clcmd

Syntax

native register_clcmd(const client_cmd[],const function[],flags=-1, const info[]="", FlagManager=-1);

Description

Registers function which will be called from client console.
Set FlagManager to 1 to make FlagManager always include this command
Set FlagManager to 0 to make FlagManager never include this command
Returns the command ID.