plugins/include/console.inc
changeset 923 346e4c60fc32
parent 910 153c052460af
child 924 330f478a2d1d
     1.1 --- a/plugins/include/console.inc	Fri Jun 08 01:09:17 2007 +0000
     1.2 +++ b/plugins/include/console.inc	Fri Jun 08 01:58:26 2007 +0000
     1.3 @@ -36,6 +36,15 @@
     1.4  };
     1.5  
     1.6  /**
     1.7 + * Reply sources for commands.
     1.8 + */
     1.9 +enum ReplySource
    1.10 +{
    1.11 +	SM_REPLY_TO_CONSOLE = 0,
    1.12 +	SM_REPLY_TO_CHAT = 1,
    1.13 +};
    1.14 +
    1.15 +/**
    1.16   * Console variable query result values.
    1.17   */
    1.18  enum ConVarQueryResult
    1.19 @@ -168,6 +177,13 @@
    1.20  native ReplyToCommand(client, const String:format[], any:...);
    1.21  
    1.22  /**
    1.23 + * Returns the current reply source of a command.
    1.24 + *
    1.25 + * @return				ReplySource value.
    1.26 + */
    1.27 +native ReplySource:GetCmdReplySource();
    1.28 +
    1.29 +/**
    1.30   * Displays usage of an admin command to users depending on the 
    1.31   * setting of the sm_show_activity cvar.
    1.32   *