View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 06-10-2014 , 11:15   Re: [INC] Colors (1.0.5)
Reply With Quote #407

Quote:
Originally Posted by Ellie View Post
Whoops forgot to put that in the post. It's only CShowActivity2 it seems where the tags aren't removed when printed to console/server.
It's weird... ShowActivity2 always prints to the chat when the player isn't the server. The comment next to it says:

Code:
        /* We don't display directly to the console because the chat text
        * simply gets added to the console, so we don't want it to print
        * twice.
        */
...which I don't think is correct seeing as how the message in question is being sent to the user who did the action via the SM "ChatSayText" method, which iirc is the SayText2 usermessage on most games.

I really doubt this will fix your problem, but it does pull out some old code from CShowActivity2 that shouldn't have been executing as well as fixes a minor bug in CShowActivity/CShowActivityEx.
Attached Files
File Type: inc colors.inc (25.5 KB, 1038 views)
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 06-10-2014 at 11:21.
Powerlord is offline