# HG changeset patch # User Nicholas Hastings # Date 1318526242 14400 # Node ID e6157d2ecc3f8690eaac1db9188bf3e50dd86639 # Parent 2d36dca5cdd5f7d8bf30e7e38fea051f78b90709 Added TextMsg destination constants to IGameHelpers header (bug 5123, r=fyren). diff -r 2d36dca5cdd5 -r e6157d2ecc3f public/IGameHelpers.h --- a/public/IGameHelpers.h Wed Oct 12 00:51:58 2011 -0400 +++ b/public/IGameHelpers.h Thu Oct 13 13:17:22 2011 -0400 @@ -50,6 +50,11 @@ struct datamap_t; struct typedescription_t; +#define TEXTMSG_DEST_NOTIFY 1 +#define TEXTMSG_DEST_CONSOLE 2 +#define TEXTMSG_DEST_CHAT 3 +#define TEXTMSG_DEST_CENTER 4 + namespace SourceMod { /** @@ -119,7 +124,7 @@ * @brief Sends a text message to a client. * * @param client Client index. - * @param dest Destination on the HUD. + * @param dest Destination on the HUD (see TEXTMSG_DEST defines above). * @param msg Message to send. * @return True on success, false on failure. */