Raised This Month: $ Target: $400
 0% 

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
Chandler_90
Junior Member
Join Date: Jul 2009
Old 07-06-2009 , 02:11   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #601

Quote:
Originally Posted by Sexual Harassment Panda View Post
just checking, the plugin is in addons/sourcemod/plugins and the config file is in addons/sourcemod/configs? If so it should work, as the setting you listed are that way by default. Also, depending on how your config is written, it might just not show up, could you post that?
There is my problem.. there is no config file to download.
Or by config do you mean the advertisements.txt file?
If so then yes it is there..

Last edited by Chandler_90; 07-06-2009 at 02:17.
Chandler_90 is offline
altex
Veteran Member
Join Date: May 2009
Location: Russia
Old 07-06-2009 , 02:56   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #602

Quote:
Originally Posted by Chandler_90 View Post
There is my problem.. there is no config file to download.
Or by config do you mean the advertisements.txt file?
If so then yes it is there..
Hi, Chandler_90.
You can find complete folder structure and advertisements.txt example in folowing arcihive:
https://forums.alliedmods.net/showpo...&postcount=574
__________________
altex is offline
Chandler_90
Junior Member
Join Date: Jul 2009
Old 07-06-2009 , 15:16   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #603

Awesome guys.. works a treat now.
Thanks for the help
Chandler_90 is offline
Chandler_90
Junior Member
Join Date: Jul 2009
Old 07-08-2009 , 03:04   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #604

I'm now having issues editing the wayt the plugin works.
I want to change frequency of adverts to every 60 seconds.. so I edit the advertisements.sp file and try to compile yet it tells me it can't read from the triggers.sp file :S
Chandler_90 is offline
altex
Veteran Member
Join Date: May 2009
Location: Russia
Old 07-08-2009 , 03:10   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #605

Quote:
Originally Posted by Chandler_90 View Post
I want to change frequency of adverts to every 60 seconds.. so I edit the advertisements.sp file and try to compile
you have not to compile wnything
sm_advertisements_interval 60 in server.cfg
__________________
altex is offline
Mister Burke
Junior Member
Join Date: Jul 2009
Old 07-11-2009 , 01:55   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #606

What happens to me is i make 3 messages i want to pop up one after the other, only the first one pops up, none of the others. I have reload on... So how do i fix this? Im doing in in an L4D server.
Mister Burke is offline
Sexual Harassment Panda
Veteran Member
Join Date: Dec 2008
Location: San Diego, CA
Old 07-11-2009 , 02:46   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #607

could you post your code?
__________________
Sexual Harassment Panda is offline
altex
Veteran Member
Join Date: May 2009
Location: Russia
Old 07-11-2009 , 04:39   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #608

Quote:
Originally Posted by Mister Burke View Post
What happens to me is i make 3 messages i want to pop up one after the other, only the first one pops up, none of the others. I have reload on... So how do i fix this? Im doing in in an L4D server.
Post your adv.txt and check out addons/sourcemod/log/errors*.log
__________________
altex is offline
Mister Burke
Junior Member
Join Date: Jul 2009
Old 07-11-2009 , 11:50   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #609

Advertisements
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" "S"
"text" "Server is modified so when your down, you can crawl."
}
"2"
{
"type" "s"
"text" "{GREEN}Wanna join the AI clan? Go to Averageidiots.com and join today!"
}
"3"
{
"type" "S"
"text" "Visit our other servers such as, DarkRP, CSS Jailbreak, Spacebuild, and more!"
"
}
"4"
{
"type" "T"
"text" "{BLUE}Averageidiots.com"

}
"5"
{
"type" ""
"text" "{}."
"flags" ""
}
}
Mister Burke is offline
altex
Veteran Member
Join Date: May 2009
Location: Russia
Old 07-11-2009 , 13:37   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #610

Quote:
Originally Posted by Mister Burke View Post
Advertisements
Code:
"Advertisements"
{
    "1"
    {
        "type"        "S"
        "text"        "Server is modified so when your down, you can crawl."
    }
    "2"
    {
        "type"        "s" # FAIL
        "text"        "{GREEN}Wanna join the AI clan? Go to Averageidiots.com and join today!"
    }
    "3"
    {
        "type"        "S"
        "text"        "Visit our other servers such as, DarkRP, CSS Jailbreak, Spacebuild, and more!"
        " # FAIL
    }
    "4"
    {
        "type"        "T"
        "text"        "{BLUE}Averageidiots.com"
                
    }
    "5"
    {
        "type"        "" # FAIL
        "text"        "{}."
        "flags"        ""
    }
}
__________________
altex 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:33.


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