Added TextMsg destination constants to IGameHelpers header (bug 5123, r=fyren).
Added TextMsg destination constants to IGameHelpers header (
bug 5123, r=fyren).
1.1 --- a/public/IGameHelpers.h Wed Oct 12 00:51:58 2011 -0400
1.2 +++ b/public/IGameHelpers.h Thu Oct 13 13:17:22 2011 -0400
1.3 @@ -50,6 +50,11 @@
1.4 struct datamap_t;
1.5 struct typedescription_t;
1.6
1.7 +#define TEXTMSG_DEST_NOTIFY 1
1.8 +#define TEXTMSG_DEST_CONSOLE 2
1.9 +#define TEXTMSG_DEST_CHAT 3
1.10 +#define TEXTMSG_DEST_CENTER 4
1.11 +
1.12 namespace SourceMod
1.13 {
1.14 /**
1.15 @@ -119,7 +124,7 @@
1.16 * @brief Sends a text message to a client.
1.17 *
1.18 * @param client Client index.
1.19 - * @param dest Destination on the HUD.
1.20 + * @param dest Destination on the HUD (see TEXTMSG_DEST defines above).
1.21 * @param msg Message to send.
1.22 * @return True on success, false on failure.
1.23 */