View Single Post
bshenkd
Junior Member
Join Date: Dec 2009
Old 02-08-2010 , 17:40   Re: [INC] Colors (1.0.2)
Reply With Quote #103

I tried using colors.inc with the connect announce sourcemod plugin, but it's not working.

Code:
"CountryShow"
{
	"messages"
	{
		"playerjoin"		"{BLUE}{PLAYERNAME} [{DEFAULT}{STEAMID}{BLUE}] has connected from ({DEFAULT}{PLAYERCOUNTRYSHORT}{BLUE})."
		"playerdisc"		"{BLUE}{PLAYERNAME} [{DEFAULT}{STEAMID}{BLUE}] has disconnected ({DEFAULT}{DISC_REASON}{BLUE})."
	}
	"messages_admin"
	{
		"playerjoin"		"{BLUE}{PLAYERTYPE} {PLAYERNAME} [{DEFAULT}{STEAMID}{BLUE}] has connected from ({DEFAULT}{PLAYERCOUNTRYSHORT}{BLUE})."
		"playerdisc"		"{BLUE}{PLAYERTYPE} {PLAYERNAME} [{DEFAULT}{STEAMID}{BLUE}] has disconnected ({DEFAULT}{DISC_REASON}{BLUE})."
	}
Whenever someone connects, it just reads {BLUE} as if it was normal text and not changing the color to blue.
__________________
bshenkd is offline