Author Topic: Coloring a Name  (Read 1366 times)

How do I change the color of someones name from Yellow?

In chat or above their player?

The latter is much easier, the former requires a bit more work, but it's still relatively straightforward.

In chat or above their player?

The latter is much easier, the former requires a bit more work, but it's still relatively straightforward.

Both?

For above players:
Code: [Select]
%player.setShapeNameColor("R G B A");The colour should be in decimal RGBA format, and the alpha should probably always be 1. Don't know if it's required or not.

If you don't know how decimal colour works, say so and I/someone will explain.

For chat, there are probably several ways you could go about doing it, the easiest being to change serverCmdMessageSent to be absolutely terrible and use messageAll instead of clientCmds like you should and changing the name colour. I feel like a gigantic turtle stroker suggesting it though, so someone else should explain the right way to do it.

For above players:
Code: [Select]
%player.setShapeNameColor("R G B A");The colour should be in decimal RGBA format, and the alpha should probably always be 1. Don't know if it's required or not.

If you don't know how decimal colour works, say so and I/someone will explain.

For chat, there are probably several ways you could go about doing it, the easiest being to change serverCmdMessageSent to be absolutely terrible and use messageAll instead of clientCmds like you should and changing the name colour. I feel like a gigantic turtle stroker suggesting it though, so someone else should explain the right way to do it.

Im not understanding what you are saying. Please re explain this? (chat name only)

Im not understanding what you are saying. Please re explain this? (chat name only)
chat names requires changing the chat function...