View Single Post
Fyren
FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren
Join Date: Feb 2106
Old 05-17-2018 , 08:22   Re: how colored default sourcemod?
Reply With Quote #2

If you're only willing to modify the translation file, you have to insert the literal bytes for the colors. For example, \x04 would be a literal 0x04 byte (like how capital letter A is 0x41).

If you're willing to edit and recompile the plugins, you can find a color include that has a replacement for ShowActivity, replace the function calls, and use color codes like {green} in the translation files.

Last edited by Fyren; 05-17-2018 at 08:22. Reason: typo
Fyren is offline