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

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 07-26-2016 , 02:48   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2011

Click Get Release in the first post and download release.tar.gz.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
olokos
Member
Join Date: Jun 2016
Old 07-27-2016 , 00:09   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2012

sm_advertisements_reload gives me an error

] sm_advertisements_reload
Unknown command: sm_advertisements_reload

Even though the plugin works, interval I set in cfg is allright, that's a bit weird. CS:GO with latest sourcemod.

Moreover if I set the advertisment type to top - it jus't wont show up at all.

Last edited by olokos; 07-27-2016 at 00:14.
olokos is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 07-27-2016 , 06:34   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2013

It's a server command, so you need to run it through RCON or use sm_rcon sm_advertisements_reload
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
olokos
Member
Join Date: Jun 2016
Old 07-30-2016 , 13:10   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2014

You are right. Thank you very much
olokos is offline
MADSTEVE
New Member
Join Date: Aug 2016
Old 08-07-2016 , 04:12   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2015

Hey guys i have a Problem with this plugin :/

The only two options that are working at the moment are center and hint.
The Options Chat and Menu didnt show on the server.

My advertisements.txt:

Quote:
"Advertisements"
{
"1"
{
"center" "www.twenty-esports.com"
}
"2"
{
"menu" "Next map is {sm_nextmap} in {timeleft} minutes."
"flags" "cft"
}
"3"
{
"chat" "{green}Current {lightgreen}Map: {default}{currentmap}"
"flags" "z"
}
"4"
{
"chat" "We are searching Communitymembers for our Community! www.twenty-esports.com"
"flags" "z"
}
}
And my Console shows this:

Tried to look up command say as if it were a variable.

Last edited by MADSTEVE; 08-07-2016 at 04:16.
MADSTEVE is offline
Neal121
Member
Join Date: Feb 2007
Old 08-08-2016 , 03:46   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2016

Day of Infamy chat colors -

I am having no luck on finding colors that work for Day of Infamy (basically the same game as Insurgency)

I have tried different types of green (lime, lightgreen, and one other). Orange doesn't work.

Some of my results are that the colors should be working but aren't and other colors just dont.

When I use {GREEN} or {LIGHTGREEN}, my messages show up in white and there is an extra space where the {GREEN} was. If I use a color like ORANGE, it doesn't work at all - it will show up in-game as "{ORANGE} Message.."

Here are 3 messages that I use, is something wrong with them?

"chat" "{lightgreen} HellFire Gamers - A small gaming community focused on having fun."

"chat" "{green} Officers use artillery, leave the class for those who know its respectful skills."

"chat" "{green} www.HellFireGamers.com"
Neal121 is offline
my11
Member
Join Date: Feb 2015
Location: Argentina
Old 08-26-2016 , 15:57   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2017

Plugin works well but this

Quote:
\n for newlines
don't work

any solve?
__________________
my11 is offline
Hydrozilla
Member
Join Date: Apr 2006
Location: NY
Old 08-29-2016 , 10:45   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2018

Quote:
Originally Posted by DJ Tsunami View Post
It's a server command, so you need to run it through RCON or use sm_rcon sm_advertisements_reload
The command is actually "sm plugins reload advertisements" if im not mistaken...
__________________
Hydrozilla is offline
DaftMink
Member
Join Date: Apr 2009
Old 09-09-2016 , 09:36   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2019

Hey, had a friend modify your plugin with a user toggle (!ads) to disable/enable all messages.
Posting it here so it can hopefully get added to your current version as it's really neat for some games.

Dropbox Link: advertisements.7z
__________________
DaftMink - Psycho Synergy: Moderator/Plugin Manager

Last edited by DaftMink; 09-09-2016 at 09:46.
DaftMink is offline
condolent
AlliedModders Donor
Join Date: Jan 2016
Location: gc_sLocation;
Old 09-25-2016 , 08:42   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2020

I get this error each time the plugin is supposed to print a message:
http://imgur.com/IU5K4Qg
condolent 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 15:30.


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