plugins/include/console.inc
changeset 1469 300cc2432356
parent 1421 9f41aad265cf
child 1475 db8868dbae1b
     1.1 --- a/plugins/include/console.inc	Sun Sep 23 21:01:07 2007 +0000
     1.2 +++ b/plugins/include/console.inc	Mon Sep 24 15:06:10 2007 +0000
     1.3 @@ -231,6 +231,15 @@
     1.4  native ReplySource:SetCmdReplySource(ReplySource:source);
     1.5  
     1.6  /**
     1.7 + * Returns whether the current say hook is a chat trigger.
     1.8 + *
     1.9 + * This function is only meaningful inside say or say_team hooks.
    1.10 + *
    1.11 + * @return				True if a chat trigger, false otherwise.
    1.12 + */
    1.13 +native bool:IsChatTrigger();
    1.14 +
    1.15 +/**
    1.16   * Displays usage of an admin command to users depending on the 
    1.17   * setting of the sm_show_activity cvar.  Additionally, the client
    1.18   * who typed the command will receive the same text without any