Raised This Month: $ Target: $400
 0% 

[INC] Colors (1.0.5)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 05-11-2010 , 09:23   Re: [INC] Colors (1.0.3)
Reply With Quote #1

Snake60, try this:
PHP Code:
CPrintToChatEx(clientclient"default {teamcolor}teamcolor {green}green"); 
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel
Snake60
Senior Member
Join Date: Jul 2008
Location: Russia, Pskov
Old 05-12-2010 , 02:57   Re: [INC] Colors (1.0.3)
Reply With Quote #2

Grand Mercy! Now it works
__________________
Snake60 is offline
Send a message via ICQ to Snake60 Send a message via MSN to Snake60 Send a message via Skype™ to Snake60
kq6zz
Member
Join Date: Apr 2010
Old 06-12-2010 , 13:41   Re: [INC] Colors (1.0.3)
Reply With Quote #3

Can anyone tell me why my chat color is the ONLY one that has changed to green when I type something? All of the other players are still in the standard yellow colored text.
kq6zz is offline
dr_l_Church
Junior Member
Join Date: Aug 2009
Old 06-18-2010 , 16:24   Re: [INC] Colors (1.0.3)
Reply With Quote #4

So, I'm trying to write a plugin to add a colored clan tag to the chat names of members on my tf2 server. But when I put the color in front of the clan tag it colors the whole name that color and does not switch back to {teamcolor}. Any help, I have tried using different colors for the clan tag and it still ignores {teamcolor}. It does however, Return to default for the message string.

Code:
CPrintToChatAll("{olive} |SW| {teamcolor} %s: {default} %s", nameBuf, message[192]);
If you need more of the code let me know.
dr_l_Church is offline
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 06-18-2010 , 16:42   Re: [INC] Colors (1.0.3)
Reply With Quote #5

kq6zz, have no idea what are you talking about.

Quote:
Originally Posted by dr_l_Church View Post
So, I'm trying to write a plugin to add a colored clan tag to the chat names of members on my tf2 server. But when I put the color in front of the clan tag it colors the whole name that color and does not switch back to {teamcolor}. Any help, I have tried using different colors for the clan tag and it still ignores {teamcolor}. It does however, Return to default for the message string.

Code:
CPrintToChatAll("{olive} |SW| {teamcolor} %s: {default} %s", nameBuf, message[192]);
If you need more of the code let me know.
You are using {teamcolor} tag in CPrintToChatAll instead of CPrintToChatAllEx. This is a reason why it doesn't work.
__________________
For admins: My plugins

For developers: Colors library

Last edited by exvel; 06-19-2010 at 05:53.
exvel is offline
Send a message via ICQ to exvel
dr_l_Church
Junior Member
Join Date: Aug 2009
Old 06-18-2010 , 19:00   Re: [INC] Colors (1.0.3)
Reply With Quote #6

Oh wow, Totaly missed that, Thank you so much for all of this, Works great!
dr_l_Church is offline
Dirton
BANNED
Join Date: Oct 2008
Old 06-24-2010 , 15:49   Re: [INC] Colors (1.0.3)
Reply With Quote #7

Could you update the include to match CSS new dark green color?
Dirton is offline
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 06-24-2010 , 17:28   Re: [INC] Colors (1.0.3)
Reply With Quote #8

Quote:
Originally Posted by Dirton View Post
Could you update the include to match CSS new dark green color?
It will be added in a day. Just need to test that everything works fine and waiting for stable SM release.
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel
Dirton
BANNED
Join Date: Oct 2008
Old 06-24-2010 , 20:29   Re: [INC] Colors (1.0.3)
Reply With Quote #9

Thanks, your work is much appreciated.
Dirton is offline
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 06-25-2010 , 05:17   Re: [INC] Colors (1.0.4)
Reply With Quote #10

Update: 1.0.4
  • Added support for olive color in CS:S
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel
Reply



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 18:59.


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