Raised This Month: $ Target: $400
 0% 

[INC] Colors (1.0.5)


Post New Thread Reply   
 
Thread Tools Display Modes
noodleboy347
AlliedModders Donor
Join Date: Mar 2009
Old 05-05-2010 , 22:31   Re: [INC] Colors (1.0.3)
Reply With Quote #151

Quote:
Originally Posted by alinayg View Post
So It could be added, but it will be black until they or someone finds and item on the server?

Or would it just be black all the time.

Also I have seen some players glitch something in there names to get this color code.
It would be black to players that have not seen someone craft or find something. It would be yellow for players that have.
noodleboy347 is offline
alinayg
Senior Member
Join Date: Apr 2009
Location: USA, RI
Old 05-06-2010 , 13:44   Re: [INC] Colors (1.0.3)
Reply With Quote #152

Quote:
Originally Posted by noodleboy347 View Post
It would be black to players that have not seen someone craft or find something. It would be yellow for players that have.
Well at the rate that items get dropped now, maybe it should be added!?
__________________
alinayg is offline
noodleboy347
AlliedModders Donor
Join Date: Mar 2009
Old 05-09-2010 , 23:45   Re: [INC] Colors (1.0.3)
Reply With Quote #153

Quote:
Originally Posted by alinayg View Post
Well at the rate that items get dropped now, maybe it should be added!?
Still not often enough to be added though
noodleboy347 is offline
Snake60
Senior Member
Join Date: Jul 2008
Location: Russia, Pskov
Old 05-11-2010 , 08:51   Re: [INC] Colors (1.0.3)
Reply With Quote #154

Sorry, guys, will asking on russian
Exvel, дружище, можешь привести как пример кусочек кода использования тега {teamcolor}? А то я пробовал его использовать и ни разу не получил желаемого результата
__________________
Snake60 is offline
Send a message via ICQ to Snake60 Send a message via MSN to Snake60 Send a message via Skype™ to Snake60
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 05-11-2010 , 09:23   Re: [INC] Colors (1.0.3)
Reply With Quote #155

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 #156

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 #157

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 #158

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 #159

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 #160

Oh wow, Totaly missed that, Thank you so much for all of this, Works great!
dr_l_Church 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 03:44.


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