SayText() not working in CS:GO?

Please post any questions about developing your plugin here. Please use the search function before posting!
stonedegg
Senior Member
Posts: 141
Joined: Sun Aug 12, 2012 11:45 am

Postby stonedegg » Mon Sep 08, 2014 11:54 am

Nice, thanks!
8guawong
Senior Member
Posts: 148
Joined: Sat Sep 20, 2014 3:06 am

Postby 8guawong » Thu Sep 25, 2014 12:25 am

color is not working...

Syntax: Select all

SayText2(message='\x03abcd').send()


but

Syntax: Select all

SayText2(message='a\x03bcd').send()


will have color for bcd
User avatar
L'In20Cible
Project Leader
Posts: 1536
Joined: Sat Jul 14, 2012 9:29 pm
Location: Québec

Postby L'In20Cible » Thu Sep 25, 2014 12:40 am

Then that means...
L'In20Cible wrote:Try putting your color in the middle of your message for example: "this is a \x02a test message". If that works, that means we have to leave the \xB1 and remove the \x01 from the _message_prefix.
8guawong
Senior Member
Posts: 148
Joined: Sat Sep 20, 2014 3:06 am

Postby 8guawong » Thu Sep 25, 2014 1:18 am

User avatar
satoon101
Project Leader
Posts: 2703
Joined: Sat Jul 07, 2012 1:59 am

Postby satoon101 » Thu Sep 25, 2014 3:30 am

I'm assuming this is for CS:GO. If not, please let us know which game this is happening on. I covered this in my previous post:
satoon101 wrote:**Edit2: it seems that '\x20' and '\xA0' both "work" as they put a space at the front of the message. I'm not sure if that is the proper fix, but it seems to be the best we know for now.
Image
8guawong
Senior Member
Posts: 148
Joined: Sat Sep 20, 2014 3:06 am

Postby 8guawong » Thu Sep 25, 2014 3:44 am

satoon101 wrote:I'm assuming this is for CS:GO. If not, please let us know which game this is happening on. I covered this in my previous post:
satoon101 wrote:**Edit2: it seems that '\x20' and '\xA0' both "work" as they put a space at the front of the message. I'm not sure if that is the proper fix, but it seems to be the best we know for now.


yes for csgo

and yea after i changed _message_prefix to \x20 color works for the first letter

thanks!

Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 146 guests