Raised This Month: $ Target: $400
 0% 

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
Munch
Senior Member
Join Date: May 2012
Location: Liverpool UK
Old 06-04-2014 , 13:01   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1801

../left4dead2/addons/sourcemod/plugins/advertisements.smx
../left4dead2/addons/sourcemod/scripting/advertisements.sp //optional
../left4dead2/addons/sourcemod/configs/advertisements.txt

Like all plugins the smx goes in the Plugins folder
If there are any special install options it will mentioned in the modders post.
in this case he does state "By default the plugin reads the advertisements from configs/advertisements.txt..."
It is considered you already know the folder structure of sourcemod
There is a link to the how to install "Install/Usage" on the left hand side when browsing plugins
__________________
Dead Men Fighting L4D2 8 Man Dead Men Fighting UK

Last edited by Munch; 06-04-2014 at 13:19.
Munch is offline
DrPringle
Junior Member
Join Date: Jun 2014
Old 06-05-2014 , 17:38   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1802

Hello Please Help ME!!!
for some reason my server is only saying msgs
1 and 2 and will not show the other msgs please help me to fix this!

Quote:
Advertisements 0.5
// by Tsunami
//
// Types
// -----
// C: Center message
// H: Hint message
// M: Menu message
// S: Say message
// - Colors: {DEFAULT}, {TEAM}, {GREEN}, {LIGHTGREEN}
// - Example: {GREEN}Current {LIGHTGREEN}Map: {DEFAULT}{CURRENTMAP}
// T: Top message
// - Colors: {WHITE}, {RED}, {GREEN}, {BLUE}, {YELLOW}, {PURPLE}, {CYAN},
// {ORANGE}, {PINK}, {OLIVE}, {LIME}, {VIOLET}, {LIGHTBLUE}
// - Example: {ORANGE} www.domain.com
//
// Flags (optional)
// -----
// Accepts flags of admins that will not see the advertisement.
// When omitted everyone will see the advertisement.
// When left empty only admins will see the advertisement.

"Advertisements"
{
"1"
{
"type" "T"
"text" "Welcome to TMServers"
}
"2"
{
"type" "S"
"text" "{GREEN}Intrested in winning prizes? Good at Tf2? Your in luck! There is now a best player on the server compertion where the player with the most points wins a Steam GAME!!!!! So Happy Gaming! Winner anounced at the end of every month!! "
}
"3"
"type" "T"
"text" "{BLUE}Invite your friends and add TMS to your name to support the server"
}
"5"
{
"type" "C"
"text" "{RED}Please visit our website for more information,donations,supporter rank and more!www.tmserversuk.webs.com Thank You!"
}
DrPringle is offline
Munch
Senior Member
Join Date: May 2012
Location: Liverpool UK
Old 06-05-2014 , 18:34   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1803

You have a formatting error
You have the { missing from after the "3"
Make it like this

"3"
{
"type" "T"
"text" "{BLUE}Invite your friends and add TMS to your name to support the server"
}
__________________
Dead Men Fighting L4D2 8 Man Dead Men Fighting UK

Last edited by Munch; 06-05-2014 at 18:36.
Munch is offline
TUSK3N1337
SourceMod Donor
Join Date: Dec 2013
Location: Sweden
Old 06-06-2014 , 08:56   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1804

Hi im having troubles with this plugin to work with colors in cs go if I type in

"1"
{
"type" "S"
"text" "{GREEN}Type !help In Chat"
}

It will just show up as a white text but if i type in

{Green} it shows "{Green}Type !help In Chat"

I know that cs go doesn't support many colors but green and lightgreen and purple should work.

I have seen other servers have colors on their advertisement plugin but maybe I have the wrong colors.inc?
__________________
TUSK3N1337 is offline
Send a message via Skype™ to TUSK3N1337
Munch
Senior Member
Join Date: May 2012
Location: Liverpool UK
Old 06-06-2014 , 11:18   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1805

Some post's have suggested adding a space before the {green} (Post 1790)
Example

Quote:
"1"
{
"type" "S"
"text" " {GREEN}Type !help In Chat"
}
Don't play CSGO so cant confirm this
__________________
Dead Men Fighting L4D2 8 Man Dead Men Fighting UK

Last edited by Munch; 06-06-2014 at 11:22.
Munch is offline
TUSK3N1337
SourceMod Donor
Join Date: Dec 2013
Location: Sweden
Old 06-06-2014 , 15:55   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1806

Quote:
Originally Posted by Munch View Post
Some post's have suggested adding a space before the {green} (Post 1790)
Example



Don't play CSGO so cant confirm this
thank you so much <3.
__________________
TUSK3N1337 is offline
Send a message via Skype™ to TUSK3N1337
ErroR348
Junior Member
Join Date: Jun 2014
Old 06-07-2014 , 09:23   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1807

Plugin failed to compile! Please try contacting the author.
ErroR348 is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 06-07-2014 , 11:33   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1808

Quote:
Originally Posted by ErroR348 View Post
Plugin failed to compile! Please try contacting the author.
You'll find the .smx amongst the other attached files, two lines below where you clicked.

Nevermind. I'm likely replying to a spambot.
__________________

Last edited by 11530; 06-07-2014 at 11:36.
11530 is offline
Bad Cold Man
Senior Member
Join Date: Apr 2014
Old 06-12-2014 , 02:47   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1809

Quote:
Originally Posted by PresidentEvil View Post
so im using the cs go extended color version, and im wondering if they are ever gonna add more colors

OLIVE does not work with the plugin sheepdude posted, even though he listed OLIVE under working colors
"cs go extended color version"

where it can be downloaded?
__________________
Bad Cold Man is offline
Uweeda.pl
Junior Member
Join Date: Aug 2013
Old 06-12-2014 , 04:47   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1810

incl color.irc?
__________________
Uweeda.pl is offline
Reply



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 19:51.


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