- 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:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user