Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Changing mapmsg color


dao
 Share

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...