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

How i use Colors?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
R4nd0mT!m3r
Junior Member
Join Date: Apr 2008
Old 04-21-2008 , 16:32   How i use Colors?
Reply With Quote #1

i want to use Red, Blue and Lighgreen but what is the \x... can me anyone say?
Format(text, sizeof(text), "\x04TEXTGREEN\x01NORMALTEXT");
PrintToChatAll(text);
R4nd0mT!m3r is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 04-21-2008 , 16:45   Re: How i use Colors?
Reply With Quote #2

What mod?
bl4nk is offline
R4nd0mT!m3r
Junior Member
Join Date: Apr 2008
Old 04-21-2008 , 16:52   Re: How i use Colors?
Reply With Quote #3

a not realesed
R4nd0mT!m3r is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 04-21-2008 , 16:56   Re: How i use Colors?
Reply With Quote #4

Then you're going to have to ask the mod developer or experiment and find them out yourself. Colors are mainly per-mod specific.
bl4nk is offline
R4nd0mT!m3r
Junior Member
Join Date: Apr 2008
Old 04-21-2008 , 16:58   Re: How i use Colors?
Reply With Quote #5

-.- i'm the developer im on lerning while i wanne make a own mod
R4nd0mT!m3r is offline
toazron1
Senior Member
Join Date: Oct 2006
Old 04-21-2008 , 17:25   Re: How i use Colors?
Reply With Quote #6

do you mean you are writing an SM plugin for a HL2 mod that you made?
__________________
toazron1 is offline
Send a message via AIM to toazron1
R4nd0mT!m3r
Junior Member
Join Date: Apr 2008
Old 04-21-2008 , 17:40   Re: How i use Colors?
Reply With Quote #7

lol oh u mean gamemod css,tf2? no i wanne make a sm plugin for css
R4nd0mT!m3r is offline
toazron1
Senior Member
Join Date: Oct 2006
Old 04-21-2008 , 18:07   Re: How i use Colors?
Reply With Quote #8

Try this:

Code:
Format(text, sizeof(text), "\x01\x04TEXTGREEN\x01NORMALTEXT");
PrintToChatAll(text);
__________________
toazron1 is offline
Send a message via AIM to toazron1
R4nd0mT!m3r
Junior Member
Join Date: Apr 2008
Old 04-21-2008 , 18:18   Re: How i use Colors?
Reply With Quote #9

this works fine i tryed before but i want other colors
R4nd0mT!m3r is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 04-21-2008 , 18:45   Re: How i use Colors?
Reply With Quote #10

Well try out different numbers to see what you can get.
bl4nk 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 11:54.


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