Quantcast

color bug in SayText2

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

color bug in SayText2

Andreas Grimm

We have the following string:

 

"\x01first \x03second \x01third \x06fourth"

 

The author is a CT player (so \x03 becomes blue) and the words get these colors by using SayText2:

 

first = blue

second = blue

third = white

fourth = green

 

The first part is always the team color and the game ignores the first \x01.

To fix that, I have to add a space:

 

" \x01first \x03second \x01third \x06fourth"

 

Then everything is fine:

 

first = white

second = blue

third = white

fourth = green

 

For plugins it would be handy to get this fixed, that we can use colored nicknames, where the text doesn't start with a nick.


_______________________________________________
Csgo_servers mailing list
[hidden email]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
Loading...