- sm_show_activity is now protected
- added sm_who - added GetCmdReplySource() for sm_who --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40929
This commit is contained in:
@@ -35,6 +35,15 @@ enum QueryCookie
|
||||
QUERYCOOKIE_FAILED = 0,
|
||||
};
|
||||
|
||||
/**
|
||||
* Reply sources for commands.
|
||||
*/
|
||||
enum ReplySource
|
||||
{
|
||||
SM_REPLY_TO_CONSOLE = 0,
|
||||
SM_REPLY_TO_CHAT = 1,
|
||||
};
|
||||
|
||||
/**
|
||||
* Console variable query result values.
|
||||
*/
|
||||
@@ -167,6 +176,13 @@ native PrintToConsole(client, const String:format[], any:...);
|
||||
*/
|
||||
native ReplyToCommand(client, const String:format[], any:...);
|
||||
|
||||
/**
|
||||
* Returns the current reply source of a command.
|
||||
*
|
||||
* @return ReplySource value.
|
||||
*/
|
||||
native ReplySource:GetCmdReplySource();
|
||||
|
||||
/**
|
||||
* Displays usage of an admin command to users depending on the
|
||||
* setting of the sm_show_activity cvar.
|
||||
|
||||
Reference in New Issue
Block a user