plugins/include/console.inc
changeset 893 a3bc816549a8
parent 873 a2136b3be10d
child 899 af4da125603b
     1.1 --- a/plugins/include/console.inc	Wed Jun 06 20:51:17 2007 +0000
     1.2 +++ b/plugins/include/console.inc	Wed Jun 06 22:16:15 2007 +0000
     1.3 @@ -133,7 +133,7 @@
     1.4  /**
     1.5   * Sends a message to a client's console.
     1.6   *
     1.7 - * @param client		Player index.
     1.8 + * @param client		Client index.
     1.9   * @param format		Formatting rules.
    1.10   * @param ...			Variable number of format parameters.
    1.11   * @noreturn
    1.12 @@ -142,6 +142,21 @@
    1.13  native PrintToConsole(client, const String:format[], any:...);
    1.14  
    1.15  /**
    1.16 + * Reples to a message in a command.
    1.17 + *
    1.18 + * A client index of 0 will use PrintToServer().
    1.19 + * If the command was from the console, PrintToConsole() is used.
    1.20 + * If the command was from chat, PrintToChat() is used.
    1.21 + *
    1.22 + * @param client		Client index, or 0 for server.
    1.23 + * @param format		Formatting rules.
    1.24 + * @param ...			Variable number of format parameters.
    1.25 + * @noreturn
    1.26 + * @error				If the client is not connected or invalid.
    1.27 + */
    1.28 +native ReplyToCommand(client, const String:fornmat[], any:...);
    1.29 +
    1.30 +/**
    1.31   * Called when a server-only command is invoked.  
    1.32   *
    1.33   * @params args			Number of arguments that were in the argument string.