Raised This Month: $ Target: $400
 0% 

[INC] Colors (1.0.5)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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 #29

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, 1054 views)
__________________
Not currently working on SourceMod plugin development.

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



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:59.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode