1.1 --- a/plugins/include/console.inc Sun Oct 21 17:58:35 2007 +0000
1.2 +++ b/plugins/include/console.inc Sun Oct 21 20:06:30 2007 +0000
1.3 @@ -241,9 +241,10 @@
1.4
1.5 /**
1.6 * Displays usage of an admin command to users depending on the
1.7 - * setting of the sm_show_activity cvar. Additionally, the client
1.8 - * who typed the command will receive the same text without any
1.9 - * client name prefix (as a confirmation).
1.10 + * setting of the sm_show_activity cvar.
1.11 + *
1.12 + * If the original client did not use a console command, they will
1.13 + * not see the public display in their chat.
1.14 *
1.15 * @param client Client index doing the action, or 0 for server.
1.16 * @param format Formatting rules.
1.17 @@ -267,6 +268,19 @@
1.18 native ShowActivityEx(client, const String:tag[], const String:format[], any:...);
1.19
1.20 /**
1.21 + * Same as ShowActivityEx(), except the text will always be mirrored to the
1.22 + * client's chat (and console, if the reply source specifies as such).
1.23 + *
1.24 + * @param client Client index doing the action, or 0 for server.
1.25 + * @param tag Tag to display with.
1.26 + * @param format Formatting rules.
1.27 + * @param ... Variable number of format parameters.
1.28 + * @noreturn
1.29 + * @error
1.30 + */
1.31 +native ShowActivity2(client, const String:tag[], const String:format[], any:...);
1.32 +
1.33 +/**
1.34 * Called when a server-only command is invoked.
1.35 *
1.36 * @params args Number of arguments that were in the argument string.