- changed TextMsg to return a bool

- fixed a bug where you couldn't send messages from post hooks
- added protection in functions which expect StartMessage to succeed

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401138
This commit is contained in:
David Anderson
2007-07-19 00:34:44 +00:00
parent 0069612c95
commit 3fdc205544
5 changed files with 21 additions and 8 deletions
+2 -1
View File
@@ -95,8 +95,9 @@ namespace SourceMod
* @param client Client index.
* @param dest Destination on the HUD.
* @param msg Message to send.
* @return True on success, false on failure.
*/
virtual void TextMsg(int client, int dest, const char *msg) =0;
virtual bool TextMsg(int client, int dest, const char *msg) =0;
};
}