Anybody running this?
https://forums.alliedmods.net/showthread.php?t=155705
I am and the announcements themselves are running flawlessly; however, I can't get any of the sm_ commands to work as they have indicated in the first post. Example being sm_advertisements_reload. It says it's an unknown command when I try to run it. I downloaded the SMX and TXT files that are attached to the thread and put the SMX file in the plugins folder and the TXT file in the config folder, but I'm wondering if I also need to download the SP file and put that in the scripting folder?
Hoping somebody here has this running and can help. I posted over on AlliedModders as well.
Thanks!
Advertisements 0.6 Plugin
- DoctorFink
- A regular
- Posts: 32
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Sat Aug 15, 2015 5:47 am
- DoctorFink
- A regular
- Posts: 32
- Joined: Sat Aug 15, 2015 5:47 am
Re: Advertisements 0.6 Plugin
I found a thread indicating that I needed to either create my own CFG file or add some stuff to my server.cfg. I went ahead and added it to my server.cfg.
Here is the post that says I need to do that...
https://forums.alliedmods.net/showpost. ... count=1078
So I added the following to my server.cfg file:
Now the advertisements have stopped working...of course...
Here is the post that says I need to do that...
https://forums.alliedmods.net/showpost. ... count=1078
So I added the following to my server.cfg file:
Code: Select all
//////// PLUGIN STUFF
////Advertisements
//Enable/disable advertisements(0/1, def 1)
sm_advertisements_enabled 1
//Advertisements file
sm_advertisements_file advertisements.txt
//Amount of seconds between advertisements (def 30)
sm_advertisements_interval 3600
//Server command to reload the advertisements from advertisements.txt.
sm_advertisements_reload 1
- DoctorFink
- A regular
- Posts: 32
- Joined: Sat Aug 15, 2015 5:47 am
Re: Advertisements 0.6 Plugin
Don't mind me, just talking to myself...
So I changed the server.cfg entries to sv entries:
The advertisements are working again, but the interval is still at 30 and the reload command is still not working through the console.
Ugh.
So I changed the server.cfg entries to sv entries:
Code: Select all
//////// PLUGIN STUFF
////Advertisements
//Enable/disable advertisements(0/1, def 1)
sv_advertisements_enabled 1
//Advertisements file
sv_advertisements_file advertisements.txt
//Amount of seconds between advertisements (def 30)
sv_advertisements_interval 3600
//Server command to reload the advertisements from advertisements.txt.
sv_advertisements_reload 1
Ugh.