View Single Post
sinblaster
Grim Reaper
Join Date: Feb 2010
Location: Australia
Old 01-16-2011 , 19:33   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #1078

Quote:
Originally Posted by Falcon_72 View Post
I just started using this plugin for my new server. One problem with it is that the interval time is 30 secs by default. I change it to 300 but everytime my server restarts it goes back to 30 secs. My server seems to restart by itself every 12 hours or so.

Is it possible to change the default interval time? Every 30 secs is too often and annoying to the players.

Ay? Are you saying that you physically type 3000 sec into cfg
sm_advertisements_interval 3000
and it changes itself back to
sm_advertisements_interval 30

impossible

I take it you're not using a cfg?

////// ADVERTISEMENTS (place in server.cfg)
Code:
//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 3000
//Server command to reload the advertisements from advertisements.txt. 
sm_advertisements_reload 1
__________________
Happy Happy Joy Joy


Last edited by sinblaster; 01-16-2011 at 19:36.
sinblaster is offline