View Single Post
MyWarthog
Senior Member
Join Date: Feb 2013
Old 06-07-2015 , 00:20   Re: [ANY|Source 2009] Advanced Advertisements
Reply With Quote #263

Idgi. Shouldn't this be working?

Code:
	"2"
	{
		"type"		"S"
		"text"		"{DARKORANGE}CURRENT SERVER DATE: {unique}{SERVER_DATE}\n {DARKORANGE}CURRENT SERVER TIME: {unique}{SERVER_TIME}" 
	}
Code:
// This file will not function if your server is not a TF2 server
// TF2 is the only mod (as of now) that has support for extra custom colors
"Extra Chat Colors"
{
	"palepink" //The name of the color without the "{" and "}" tags.
	{
		"hex"		"0xcc9999" // "Hexadecimal representation of the color" - Directly taken off of the morecolors documentation
	}
	"greenishyellow"
	{
		"hex"		"0x999966"
	}
  "unique"
  {
    "hex"   "0xFFD700"
  }
}
Code:
// This file was auto-generated by SourceMod (v1.7.2)
// ConVars for plugin "adv_adverts_tf2.smx"


// What is the directory of the "Extra Top Colors" config?
// -
// Default: "configs/extra_top_colors.txt"
sm_extended_advertisement_extratopcolors_file "configs/extra_top_colors.txt"

// The delay time between each advertisement
// -
// Default: "30.0"
sm_extended_advertisements_delay "60.0"

// Is plugin enabled?
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_extended_advertisements_enabled "1"

// In "M" type menus, can clients close the menu with the press of any button?
// -
// Default: "1"
sm_extended_advertisements_exitmenu "1"

// What is the directory of the "Extra Chat Colors" config?
// -
// Default: "configs/extra_chat_colors.txt"
sm_extended_advertisements_extrachatcolors_file "configs/extra_chat_colors.txt"

// What is the file directory of the advertisements file
// -
// Default: "configs/extended_advertisements.txt"
sm_extended_advertisements_file "configs/extended_advertisements.txt"
The custom color does not print. It just prints out {unique}, showing in Dark Orange.

Last edited by MyWarthog; 06-07-2015 at 00:25.
MyWarthog is offline