[ANY] Server maintenance [1.4 06/08/2012]
1 Attachment(s)
I made a nice plugin to initiate a server maintenance, you can change the server to allow admins to enter only. Installation: Download the plugin using the button below [Get Plugin], then drag it to addons/sourcemod/plugins to install it. Then reload the server/change map/"sm plugins load maintenance" in rcon. Update: Same as installation just you can't change map for that, and reload instead of load. Console variables: Quote:
Quote:
|
Re: Server maintenance
Dat one line of code ;P
|
Re: Server maintenance
What's wrong with setting sv_password?
|
Re: Server maintenance
Quote:
|
Re: Server maintenance
Code:
if(GetUserAdmin(client) == INVALID_ADMIN_ID && gH_Enabled) Code:
if(gH_Enabled && GetUserAdmin(client) == INVALID_ADMIN_ID) Also you should either overthink your convarchecking method or add an convarhook. Also i would suggest you use the CheckCommandAccess function. Yours sincerely Impact |
Re: Server maintenance
Here's an ultra cramped version, just for fun (with a few suggestions, like mentioned above):
Spoiler
|
Re: Server maintenance
Quote:
Spoiler
|
Re: [Any] Server maintenance [1.1 17/07/2012]
1.1 - Added some suggestions that Impact123 and TnTSCS suggested, added changelog.
|
Re: [ANY] Server maintenance [1.1 17/07/2012]
This dose not compile on the web compiler.
|
Re: [ANY] Server maintenance [1.1 17/07/2012]
Quote:
http://gyazo.com/c2fa3567c8d04bdb1cd...png?1342569479 |
All times are GMT -4. The time now is 17:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.