PHP Code:
// Ads
// Configuration File
// By Shane A. ^BuGs^ Froebel
// Do not change the variable names or the script will fail!
"Ads"
{
"Config"
{
/* Enables/Disables Ads */
"EnableAds" "1"
/* Enables/Disables that other plugins can register their Ads Messages */
"EnableOutsideAds" "0"
/* Time between the messages. */
"TimeBetweenMsg" "60.0"
/* Allow the use of the default magic words. (not working yet) */
"AllowDyanmicReplace" "0"
/*
For the Insurgency Mod, there is no setting. It will goto everyone by default.
For most source games.. the spot where you want the messages to show.
0 = Chat Messages
1 = Hint Box
2 = Center Messages
3 = Top Menu (Set Colors Below)
*/
"LocationOfAds" "0"
/* This is the color of the ads. */
"AdsRedAlpha" "255"
"AdsBlueAlpha" "255"
"AdsGreenAlpha" "255"
"AdsAlpha" "255"
/* If this plugin is being installed For the Insurgency Mod, make this enabled. */
"InsurgencyAds" "0"
/* Hex value of the chat ads color. */
"AdsChatColor" "0x04"
}
"AdMessages"
{
"0" "Add 208.69.150.246:27015 to your favorites!"
"1" "Visit our website at [url]www.JoinPGN.com[/url], thanks!"
"2" "Use the /voteban command if there's a cheater!"
}
}
However messages appear prefixed with 0?
0 Use the /voteban command if there's a cheater! And they're colored in the regular color not 0x04.