Raised This Month: $90 Target: $400

how colored default sourcemod?

Post New Thread Reply   
Thread Tools Display Modes
Author Message
Join Date: Jan 2013
Old 05-17-2018 , 07:25   how colored default sourcemod?
Reply With Quote #1

Hello, i want colored sourcemod how i can release this?

"Changing map"
		"#format"		"{1:s}"
		"en"			"Changing map to {green}{1}..."
basecommands --> map.sp have ShowActive how colored this code?
panikajo is offline
FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren
Join Date: Feb 2106
Old 05-17-2018 , 09: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 09:22. Reason: typo
Fyren is offline
Veteran Member
Join Date: Jun 2015
Location: de_dust2
Old 05-17-2018 , 23:21   Re: how colored default sourcemod?
Reply With Quote #3


Please comment on my profile, or I will ignore your friend request.

GitHub | Steam | WARMOD+ | Discord:Kento#2118
rogeraabbccdd is offline

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 04:41.

Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode