Raised This Month: $ Target: $400
 0% 

Colors in scripting


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Swuifti
Senior Member
Join Date: Mar 2008
Location: Bulgaria/Sofia
Old 04-02-2009 , 17:18   Colors in scripting
Reply With Quote #1

x04 //green

But what about
x01
x02
x03
x05
x06
... and so on ??
Swuifti is offline
Send a message via ICQ to Swuifti Send a message via Yahoo to Swuifti Send a message via Skype™ to Swuifti
alan_el_more
Veteran Member
Join Date: Jul 2008
Location: amxmodx-es.com
Old 04-02-2009 , 17:22   Re: Colors in scripting
Reply With Quote #2

^x01 normal (yellow)
^x03 team color (CT: blue, TT: red, Spec: grey)
__________________
alan_el_more is offline
Swuifti
Senior Member
Join Date: Mar 2008
Location: Bulgaria/Sofia
Old 04-02-2009 , 17:26   Re: Colors in scripting
Reply With Quote #3

and xo2 ?
Swuifti is offline
Send a message via ICQ to Swuifti Send a message via Yahoo to Swuifti Send a message via Skype™ to Swuifti
alan_el_more
Veteran Member
Join Date: Jul 2008
Location: amxmodx-es.com
Old 04-02-2009 , 17:32   Re: Colors in scripting
Reply With Quote #4

Quote:
Originally Posted by Swuifti View Post
and xo2 ?
nothing
__________________
alan_el_more is offline
Swuifti
Senior Member
Join Date: Mar 2008
Location: Bulgaria/Sofia
Old 04-02-2009 , 17:33   Re: Colors in scripting
Reply With Quote #5

So only
^x01 normal (yellow)
^x03 team color (CT: blue, TT: red, Spec: grey)
x04 //green

Well this is stupid
Swuifti is offline
Send a message via ICQ to Swuifti Send a message via Yahoo to Swuifti Send a message via Skype™ to Swuifti
alan_el_more
Veteran Member
Join Date: Jul 2008
Location: amxmodx-es.com
Old 04-02-2009 , 17:38   Re: Colors in scripting
Reply With Quote #6

Quote:
Originally Posted by Swuifti View Post
So only
^x01 normal (yellow)
^x03 team color (CT: blue, TT: red, Spec: grey)
x04 //green

Well this is stupid
^x01 normal (yellow)
^x03 team color (CT: blue, TT: red, Spec: grey)
^x04 green
__________________
alan_el_more is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-02-2009 , 19:37   Re: Colors in scripting
Reply With Quote #7

Code:
// Radio and chat strings can have control characters embedded to set colors.  For the control characters to be used, one must be at the start of the string. // The control characters can be copied and pasted in notepad. //  = 0x02 (STX) - Use team color up to the end of the player name.  This only works at the start of the string, and precludes using the other control characters. //  = 0x03 (ETX) - Use team color from this point forward //  = 0x04 (EOT) - Use location color from this point forward //  = 0x01 (SOH) - Use normal color from this point forward

In a file for CS.
Arkshine 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 02:18.


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