Raised This Month: $ Target: $400
 0% 

Event when server is empty


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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