Raised This Month: $12 Target: $400
 3% 

Colorchat issue?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 09-11-2009 , 17:01   Colorchat issue?
Reply With Quote #1

I have this code in my plugin:

^x03

That should make the color to team-color. It doesn't work for csdm, has some1 got a solution?
I had a look @ this:

http://forums.alliedmods.net/showthr...eam+color+code
KadiR is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-11-2009 , 19:39   Re: Colorchat issue?
Reply With Quote #2

If that plugin just uses client_print() it won't work with color.
__________________
fysiks is offline
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 09-12-2009 , 04:24   Re: Colorchat issue?
Reply With Quote #3

This is the code:

ColorChat(0, NORMAL, "^x03%s ^x04won!", szName)
KadiR is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 09-12-2009 , 04:27   Re: Colorchat issue?
Reply With Quote #4

Try

PHP Code:
ColorChat(0TEAM_COLOR"%s ^x04won!"szName
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 09-12-2009 , 07:24   Re: Colorchat issue?
Reply With Quote #5

now it makes red color (T) to blue color...
KadiR is offline
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 17:08.


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