From e23d7ca51b0028849d7acb5a6635867e4fe23a98 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings <skamonkey@gmail.com> Date: Thu, 13 Oct 2011 13:17:22 -0400 Subject: [PATCH] Added TextMsg destination constants to IGameHelpers header (bug 5123, r=fyren). --- public/IGameHelpers.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/public/IGameHelpers.h b/public/IGameHelpers.h index c1d6f622..d9691062 100644 --- a/public/IGameHelpers.h +++ b/public/IGameHelpers.h @@ -50,6 +50,11 @@ struct edict_t; 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 @@ namespace SourceMod * @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. */