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

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
SanKen
Senior Member
Join Date: Oct 2012
Location: /var/logs
Old 08-25-2014 , 05:11   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1841

I can read, but the problem is that it does not work most of the colors. There is a lot more colors that work in CSGO, and the plugin does not allow this. I'm using 0.5.7 and working there more of them.
__________________
SanKen is offline
Azik
Member
Join Date: Aug 2011
Location: France
Old 08-26-2014 , 10:01   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1842

Hello,

I use your plugin but my plugin don't work, look my files :

Code:
// 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"        "S"
        "text"        "{GREEN}[BS] {DEFAULT}Vous avez un doute sur les règles du serveur? Taper !regles pour avoir les règles."
    }
    "2"
    {
        "type"        "S"
        "text"        "{GREEN}[BS] {DEFAULT}Vous souhaitez devenir admin de tous nos serveurs? {GREEN}boutique.balkanstar.fr{DEFAULT}!"
    }
    "3"
    {
        "type"        "S"
        "text"        "{GREEN}[BS] {DEFAULT}Aidez-nous à améliorer nos serveurs en postant vos idées sur le forum!"
    }
    "4"
    {
        "type"        "S"
        "text"        "{GREEN}[BS] {DEFAULT}Rejoignez-nous directement sur notre forum: {GREEN}balkanstar.fr{DEFAULT}!"
    }
    "5"
    {
        "type"        "S"
        "text"        "{GREEN}[BS] {DEFAULT}Devenez VIP de tous nos serveurs à tout petit prix! {GREEN}boutique.balkanstar.fr{DEFAULT}!"
    }
}
I have .smx file in addons/sourcemod/plugins
the plugin is detected (sm plugins in console) but don't work

Help me !

Thanks
Azik is offline
Send a message via Skype™ to Azik
robotortoise
Senior Member
Join Date: Nov 2013
Old 08-28-2014 , 23:27   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1843

I wish there was a way to randomly use one of the many text messages at different intervals.
__________________
-Robotortoise [Palutena's Bro]

If you ever need help with Wii/Gamecube/DS sounds/music/ect., I'm your man!

Contact me via Steam

I don't bite.


How to loop and compress .wav files

Me and my friends' server
robotortoise is offline
Chesterfield
Senior Member
Join Date: Apr 2013
Old 09-02-2014 , 15:59   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1844

Does this work for CS:GO? I can't make it work, configs/advertisements.txt where is this? in sourcemods? or in cfg?

And does this generate a cfg in sourcemods/cfg? coz i can't see it!

Last edited by Chesterfield; 09-02-2014 at 16:00.
Chesterfield is offline
SanKen
Senior Member
Join Date: Oct 2012
Location: /var/logs
Old 09-02-2014 , 17:27   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1845

This plugin does not generate these advertisements.txt you have to create it youself.

in /csgo/addons/sourcemod/configs/advertisements.txt
__________________
SanKen is offline
Chesterfield
Senior Member
Join Date: Apr 2013
Old 09-03-2014 , 15:28   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1846

Hello, now it works, but, i can't make the colours work, i've put this

{
"type" "S"
"text" "{GREEN}Welcome to Pitbull$ Gaming Server"
}

But it shows in white colour, i tried {LIGHTGREEN} with a space betwen the } and the message but still it doesn't work, do i need to download something appart to make them works?

Last edited by Chesterfield; 09-03-2014 at 15:28.
Chesterfield is offline
Munch
Senior Member
Join Date: May 2012
Location: Liverpool UK
Old 09-03-2014 , 15:47   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1847

Others have mentioned that CS:GO requires a space before the {COLOR} statement

Change
"text" "{GREEN} blah blah"

to:
"text" " {GREEN} blah blah"
__________________
Dead Men Fighting L4D2 8 Man Dead Men Fighting UK

Last edited by Munch; 11-18-2014 at 16:34.
Munch is offline
Chesterfield
Senior Member
Join Date: Apr 2013
Old 09-03-2014 , 16:23   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1848

Now it works, thanks alot!
Chesterfield is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 09-04-2014 , 12:31   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1849

Quote:
Originally Posted by marczx1 View Post
How do I set more advertisements?

I believe the max number of advertisements is 6.
You can add as many as you want. I have 12, some specifically for certain flagged users, others for general public only, and some for everyone. Just add more in the correct syntax.
Maxximou5 is offline
waeheart
Junior Member
Join Date: Aug 2014
Old 09-04-2014 , 20:33   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1850

can anyone tell me is colour still work in left for dead 2 ?
waeheart 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 20:08.


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