added admin access checking
added syncing between overrides (note: denial message is a todo) --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40520
This commit is contained in:
@@ -112,7 +112,6 @@ functag ConCmd Action:public(client, argCount);
|
||||
*/
|
||||
native RegConsoleCmd(const String:cmd[], ConCmd:callback, const String:description[]="", flags=0);
|
||||
|
||||
#if 0
|
||||
/**
|
||||
* Creates a console command as an administrative command. If the command does not exist,
|
||||
* it is created.
|
||||
@@ -126,13 +125,12 @@ native RegConsoleCmd(const String:cmd[], ConCmd:callback, const String:descripti
|
||||
* @param flags Optional console flags.
|
||||
* @noreturn
|
||||
*/
|
||||
native RegAdminCmd(const String:cmd[],
|
||||
ConCmd:callback,
|
||||
adminflags,
|
||||
const String:group[]="",
|
||||
const String:description[]="",
|
||||
flags=0);
|
||||
#endif
|
||||
native RegAdminCmd(const String:cmd[],
|
||||
ConCmd:callback,
|
||||
adminflags,
|
||||
const String:description[]="",
|
||||
const String:group[]="",
|
||||
flags=0);
|
||||
|
||||
/**
|
||||
* Creates a new console variable.
|
||||
|
||||
Reference in New Issue
Block a user