Raised This Month: $12 Target: $400
 3% 

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 01-26-2013 , 18:34   Re: Advertisements 0.5.5
Reply With Quote #1541

Quote:
Originally Posted by Nitro91 View Post
yes in csgo the first version works well, but in csgo is no version of it working. Please check and Update?
huh?

if you're asking if this plugin works with CS:GO post the 01/23/13 update, it does. It's running on my servers now.
__________________
View my Plugins | Donate
TnTSCS is offline
Nitro91
Member
Join Date: Aug 2012
Location: Bayern- Germany
Old 01-26-2013 , 18:53   Re: Advertisements 0.5.5
Reply With Quote #1542

I tryed it with every version. Its loading but dont display any message.
Nitro91 is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 01-26-2013 , 20:20   Re: Advertisements 0.5.5
Reply With Quote #1543

Quote:
Originally Posted by Nitro91 View Post
I tryed it with every version. Its loading but dont display any message.
Hi,

If you use special characters in your advertisements.txt, try to save it in UTF-8 without BOM with Notepad++.
__________________

*** *** ***
-My plugins-
St00ne is offline
WaffleMaddness
Junior Member
Join Date: Jan 2013
Old 01-27-2013 , 00:07   Re: Advertisements 0.5.5
Reply With Quote #1544

Hey guys! I tried installing this but it is not working. I put the plugin into addons/sourcemod/plugins. and i put the advertisements.txt into addons/sourcemod/config. I then changed the .txt file to what I wanted and then I restarted my server. I do not see any adds. Please help.

-Waffle

This is what have in the .txt file:

// 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" "S"
"text" "{GREEN}Head Admin: WaffleMaddness {LIGHTGREEN}Mods: ADAPT, Acidic Waffle"
}
"2"
{
"type" "S"
"text" "{GREEN}You can contact any of the admins on steam"
}
"3"
{
"type" "S"
"text" "Next map is {SM_NEXTMAP} in {TIMELEFT} minutes."
}
"4"
{
"type" "S"
"text" "{GREEN}Current {LIGHTGREEN}Map: {DEFAULT}{CURRENTMAP}"
}
"5"
{
"type" "S"
"text" "{GREEN} Donators {GREEN}will get skins and special guns for only {LIGHTGREEN}$ a month"
}
"6"
{
"type" "S"
"text" "{GREEN}We are selling basic admin for {LIGHTGREEN}$10"
}
}

Last edited by WaffleMaddness; 01-27-2013 at 00:09.
WaffleMaddness is offline
Sheepdude
SourceMod Donor
Join Date: Aug 2012
Location: Chicago
Old 01-27-2013 , 01:16   Re: Advertisements 0.5.5
Reply With Quote #1545

SM Advertisements Extended Colors version
(with cs:go support)

Supported colors:

{DEFAULT} {RED} {GREEN} {LIGHTGREEN} {OLIVE} {LIGHTRED} {WHITE}



Supported team colors (cannot have two different team colors in a single advert):

{CTCOLOR} {TCOLOR} {TEAM}

{BLUE} {ORANGE}



-Note: {TEAM} resolves to the team color of the player receiving the advertisement.
-The above colors correspond to CS:GO's chat colors; other games might have slightly different color patterns (for instance, team colors might not be orange and blue).
Attached Files
File Type: sp Get Plugin or Get Source (advertisements.sp - 2455 views - 13.1 KB)
File Type: smx advertisements.smx (10.9 KB, 1254 views)
__________________

Last edited by Sheepdude; 01-27-2013 at 01:41.
Sheepdude is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 01-27-2013 , 01:35   Re: Advertisements 0.5.5
Reply With Quote #1546

Thanks Sheepdude - now the masses of CS:GO can have more than 2 colors...

...:: TnT Edit ::...

whoops, attachments gone

Edit #2
They're back
__________________
View my Plugins | Donate

Last edited by TnTSCS; 01-27-2013 at 01:36.
TnTSCS is offline
Sheepdude
SourceMod Donor
Join Date: Aug 2012
Location: Chicago
Old 01-27-2013 , 01:36   Re: Advertisements 0.5.5
Reply With Quote #1547

Quote:
Originally Posted by TnTSCS View Post
Thanks Sheepdude - now the masses of CS:GO can have more than 2 colors...

...:: TnT Edit ::...

whoops, attachments gone
I quickly added {ORANGE} and {BLUE} as an afterthought =P
__________________
Sheepdude is offline
Gonz
Senior Member
Join Date: Mar 2007
Location: Germany
Old 01-27-2013 , 03:40   Re: Advertisements 0.5.5
Reply With Quote #1548

Quote:
Originally Posted by Gonz View Post
at least this version gets loaded by the server...

BUT there are no adverts shown on my cs:go server

plugin runs
no error logs
advertisements.txt is in right format (hasnt changed, worked until protobuf update)

any ideas?
it works now

the server needed to be restartet

Top Message isnt working for me on CS:GO

thx for the plugin!!
__________________
Greetz Gonz
CS:GO Server: 88.198.13.105:27015 -[LG]- Lunatic Gophers - Muppetshow - www.lg-clan.de Public TS3 Server: lg-clan.com

Gonz is offline
Sheepdude
SourceMod Donor
Join Date: Aug 2012
Location: Chicago
Old 01-27-2013 , 03:43   Re: Advertisements 0.5.5
Reply With Quote #1549

I don't think Top Message is supported in CS:GO. So don't use it... =P
__________________
Sheepdude is offline
Gonz
Senior Member
Join Date: Mar 2007
Location: Germany
Old 01-27-2013 , 03:53   Re: Advertisements 0.5.5
Reply With Quote #1550

no problem
__________________
Greetz Gonz
CS:GO Server: 88.198.13.105:27015 -[LG]- Lunatic Gophers - Muppetshow - www.lg-clan.de Public TS3 Server: lg-clan.com

Gonz 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 18:44.


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