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 11-17-2020 , 04:14   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2161

Make sure you run the commands in the server console, not the client console. Check the error logs to see if you made any mistakes in your advertisements.txt. If you still can't get it to work, post your advertisements.txt.
__________________
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
iceman20k
Junior Member
Join Date: Jun 2013
Old 12-02-2020 , 09:33   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2162

Hi there,

i am running the lastest version, but somehow the colors are not processed, instead of that lines like {green}mytext are posted.
Thanks for any hint! The plugin worked well and with that config for quite a while.
iceman20k is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 12-03-2020 , 12:53   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2163

Quote:
Originally Posted by iceman20k View Post
Hi there,

i am running the lastest version, but somehow the colors are not processed, instead of that lines like {green}mytext are posted.
Thanks for any hint! The plugin worked well and with that config for quite a while.
Which game? And these are colors in chat messages?
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.

Last edited by DJ Tsunami; 12-03-2020 at 12:55.
DJ Tsunami is offline
iceman20k
Junior Member
Join Date: Jun 2013
Old 12-03-2020 , 14:38   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2164

Quote:
Originally Posted by DJ Tsunami View Post
Which game? And these are colors in chat messages?
The game is csgo. The messages look like that in advertisements.txt:

"7"
{
"chat" "{GREEN}[MyServer]{DEFAULT} This is a Public Server dedicated to all CS:GO players: {GREEN}Please do NOT ask anyone to leave!{DEFAULT}"
}

All are chat messages. It worked like that since ages. Dunno why it doesnt anymore, i guessed a CSGO server update.
Thanks a lot for your help and reply BTW ;)

Last edited by iceman20k; 12-03-2020 at 14:41.
iceman20k is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 12-03-2020 , 14:46   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2165

The chat colors have to be lowercase now. I've only had one other person complain about it, so I haven't bothered to fix it.
__________________
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
iceman20k
Junior Member
Join Date: Jun 2013
Old 12-03-2020 , 14:51   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2166

Quote:
Originally Posted by DJ Tsunami View Post
The chat colors have to be lowercase now. I've only had one other person complain about it, so I haven't bothered to fix it.
Oh ok, thanks a lot for the info, never would have found out ;)
I'll try that.
iceman20k is offline
iceman20k
Junior Member
Join Date: Jun 2013
Old 12-04-2020 , 06:56   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2167

Quote:
Originally Posted by DJ Tsunami View Post
The chat colors have to be lowercase now. I've only had one other person complain about it, so I haven't bothered to fix it.
Thanks a lot for the info, works perfect again ;)
iceman20k is offline
avan
Junior Member
Join Date: Oct 2020
Old 12-15-2020 , 00:09   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2168

amazing plugins, been using it quite a while now. However, I was wondering if there was a setting for me to configure the center message's appearance time. I wanted to lower it but I don't think I've found any solutions to that yet.
avan is offline
Tonblader
Senior Member
Join Date: Jul 2011
Location: Peru
Old 12-15-2020 , 00:52   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2169

Can you add the option "if you have a specific flag" don't see those who have this flag?

Example:
If you have z flag (root admin), don't see specific advertisement.
Tonblader is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 12-15-2020 , 05:32   Re: Advertisements 2.0 (Updated 2016/03/23)
Reply With Quote #2170

Quote:
Originally Posted by avan View Post
However, I was wondering if there was a setting for me to configure the center message's appearance time.
No, you would have to edit the plugin for that. I believe it's currently around 7 seconds to match a hint message. You can change the number 5 on line 242 to change the duration.

Quote:
Originally Posted by Tonblader View Post
Can you add the option "if you have a specific flag" don't see those who have this flag?
Have you read the first post? There's a "flags" field for that.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.

Last edited by DJ Tsunami; 12-15-2020 at 06:15.
DJ Tsunami 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:30.


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