dao Posted June 19, 2009 Author Share Posted June 19, 2009 Id like the name before the message to be a color.Zultar: test like tis> If GetPlayerAccess(index) = 5 Then> Call MapMsg(GetPlayerMap(index), GetPlayerName(index) & ": ", BRIGHTCYAN)> Call MapMsg(Message, SayColor) Link to comment Share on other sites More sharing options...
Robin Posted June 19, 2009 Share Posted June 19, 2009 Not that easy. I did this a while back. Thanks to the RTB, you can actually change the text colour inbetween the strings you print to it, so that bit is fairly easy.What you need to do is change the packet to be sent as something other than PlayerMsg, and send the Player's name so it can be rendered seperately from the actual message.Or, you could Split() any PlayerMsg packets coming in, but that would be messy and cause a lot of problems. Link to comment Share on other sites More sharing options...
dao Posted June 19, 2009 Author Share Posted June 19, 2009 ohh boy… lol i guess for now ill just make the whole message the color becuz im sure ur not going to make me a tutorial on doing that lol well thanks for replyin then Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now