General > Developers Corner

Custom Echo Text Colors

<< < (2/2)

Darkblizzard:
Where does it set the color of "#P" and "#s"?

JamminR:
Follow the function code.
Starts here - https://github.com/TeamUlysses/ulx/blob/c372f1a84fe86a5ecba21b16fcf73a4c78143eab/lua/ulx/log.lua#L455
Goes down, determines if it's the beginning of the line, sets default color, goes down, if it comes across a player, colors misc color.

Navigation

[0] Message Index

[*] Previous page

Go to full version