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

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
ssphreak
Senior Member
Join Date: Aug 2009
Old 10-22-2010 , 13:36   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #1041

FrozDark - thanks man!!
ssphreak is offline
naris
AlliedModders Donor
Join Date: Dec 2006
Old 10-22-2010 , 19:20   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #1042

Quote:
Originally Posted by boogaloo View Post
im not using this plugin until i get a .cfg file for it. im not going to crowd my server.cfg with a whole bunch of nonsense.
in server.cfg
Code:
exec advertisements.cfg
in advertisements.cfg
Code:
////// ADVERTISEMENTS 

//Enable/disable displaying advertisements(0/1, def 1) 
sm_advertisements_enabled 1 

//File to read the advertisements from.(def "advertisements.txt") 
sm_advertisements_file advertisements.txt 

//Amount of seconds between advertisements (def 30) 
sm_advertisements_interval 80
There you go.....
naris is offline
naris
AlliedModders Donor
Join Date: Dec 2006
Old 10-22-2010 , 19:26   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #1043

Quote:
Originally Posted by boogaloo View Post
i mean afterall isnt it common sense if your plugin has variables that you probide a config file? that should be a must for any plugin author.
I'd say it's "common sense" to have 1 config file with all your settings instead of 23 separate config files with 1 or 2 settings in each one
naris is offline
aspron1x
Junior Member
Join Date: Jul 2008
Location: Russia
Old 10-23-2010 , 06:33   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #1044

Sorry guys, anybody can help me. I use this plugin in lfd2, but it is necessary for me that messages were shown only in the beginning, but not in the process of game. How I can so to make, such is possible?
aspron1x is offline
sinblaster
Grim Reaper
Join Date: Feb 2010
Location: Australia
Old 10-23-2010 , 06:35   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #1045

idea wont work nvm
__________________
Happy Happy Joy Joy


Last edited by sinblaster; 10-23-2010 at 06:38.
sinblaster is offline
aspron1x
Junior Member
Join Date: Jul 2008
Location: Russia
Old 10-23-2010 , 06:39   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #1046

Quote:
Originally Posted by sinblaster View Post
change the time limit between ads longer that the round limit?
But then the interval between messages of different formats will change

For example if it is necessary, that one was shown in the center, and another in a chat (but only once)

lol guys, just don't laugh, decision of my problem:

add to advertisements.txt after basic messages

"5"
{"type" ""
"text" ""}
"6"
{"type" ""
"text" ""}
"..."
{"type" ""
"text" ""}
"n"
{"type" ""
"text" ""}

Funny, but it really works and it is possible to regulate time between repetitions =)

Last edited by aspron1x; 10-23-2010 at 07:45.
aspron1x is offline
TriiiX
Junior Member
Join Date: Oct 2010
Location: Germany
Old 10-29-2010 , 07:20   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #1047

I will try it.! But hey Thanks to much. I need something like that.
__________________


TriiiX is offline
Serenity
Junior Member
Join Date: Oct 2010
Old 11-01-2010 , 01:40   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #1048

im getting a key value error when i put in this plugin can any1 tell me what im doing wrong
Serenity is offline
Snaggle
AlliedModders Donor
Join Date: Jul 2010
Location: England
Old 11-01-2010 , 15:48   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #1049

Quote:
Originally Posted by Serenity View Post
im getting a key value error when i put in this plugin can any1 tell me what im doing wrong
Can you post your config file?
Snaggle is offline
Serenity
Junior Member
Join Date: Oct 2010
Old 11-07-2010 , 20:28   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #1050

the commands are just in my server cfg do i need a advert.cfg file?
Serenity 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 13:02.


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