Raised This Month: $ Target: $400
 0% 

Timed Restart


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
JFeldon
Member
Join Date: Feb 2007
Location: United Kingdom
Old 02-10-2008 , 15:06   Timed Restart
Reply With Quote #1

Kay, I've read the stickies and done a quick search. Couldn't find anything, so here goes:

Timed Restart

Description:
Will restart the server after a certain amount of seconds as specified by the admin. The time must be equal to or above 3 seconds. Once the command is executed, a task is released with the said amount of seconds. The admin's name and the amount of seconds specified is printed to the server console, and then the amount of seconds until the server restart is displayed to all players.

Solely written by JFeldon / Labyr!nth


Commands & Usage:
amx_restartserv <Time> - Restarts server after said amount of time in seconds


Admin flag needed:
You need "ADMIN_RCON" (Flag L)


Other requirements:
Should work with any Half Life 1 mod. I tested it on The Specialists and it worked fine. Plugin compiled fast and with no errors / warnings. *Code Indented! *


Settings:
None really. There's no CVars involved or anything. You can tweak a few minor settings within the .SMA, such as the admin flag needed and the minimum amount of seconds or whatever... But it's not all that important.


Changelog:
1.0 - Initial Release.
Attached Files
File Type: sma Get Plugin or Get Source (timedrestart.sma - 970 views - 1.8 KB)
__________________
+Karma if I helped! ;)
JFeldon is offline
Send a message via MSN to JFeldon
 


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 20:29.


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