Raised This Month: $ Target: $400
 0% 

Event when server is empty


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MeanE
New Member
Join Date: Sep 2005
Old 04-30-2007 , 19:25   Event when server is empty
Reply With Quote #1

Hi!

I'm currently running a warserver for loaning, and I've run into a problem.
The thing is that quite a bunch has the rcon password for it(yes, they're allowed to play on it but they usually forget to reset the regular sv_password when they leave the server after their PCW meaning no others can access it until I change the password.
And even then their CVARS might be completely different from what they are supposed to be.

So what I want is a plugin that runs a .cfg(that resets all the cvars to the original state, and resets the password) file everytime the server gets empty.

BUT. I do know some programming so all logic says this is an easy to make script, but I havent programmed an AMXmod plugin before, so I am not familiar with the programming language of it.
So I figured some kind person here might do it for me.

Just something that goes like this, but in AMXx code ofc

if server == empty
then
run "config.cfg"



Any ideas?
MeanE is offline
Deviance
Veteran Member
Join Date: Nov 2004
Location: Sweden
Old 04-30-2007 , 19:35   Re: Event when server is empty
Reply With Quote #2

Wrong section, this should be posted in Suggestions / Requests
Deviance is offline
MeanE
New Member
Join Date: Sep 2005
Old 04-30-2007 , 19:50   Re: Event when server is empty
Reply With Quote #3

Quote:
Originally Posted by Deviance View Post
Wrong section, this should be posted in Suggestions / Requests
Soz mate, if moderator could move it - it would be appreciated!
MeanE is offline
pRED*
Join Date: Dec 2006
Old 04-30-2007 , 19:54   Re: Event when server is empty
Reply With Quote #4

http://forums.alliedmods.net/showthr...t=server+empty
pRED* is offline
MeanE
New Member
Join Date: Sep 2005
Old 05-01-2007 , 05:43   Re: Event when server is empty
Reply With Quote #5

Thanks mate
MeanE is offline
Reply


Thread Tools
Display Modes

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 06:37.


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