|
转载自www.amxmod.net
以下是原文介绍:
A task scheduler to perform server commands at a specified interval or a specific time. Based on Clanmod's "cm_task".
Usage:
Put tasks in your admin.cfg in the format:
amx_task time "command" flags
Flags:
m - time is in minutes
s - time is in seconds
r - repeat task
t - specific time (0:00-23:59, assumes "r" flag)
For example to restart the round every 5 minutes use:
amx_task 5 "sv_restart 1" mr
Changelog:
0.2 Nov 10th, 02- Added "t" flag for specific time
0.1 Nov 09th, 02 - Initial release |
|