This plugin is orignal from
altex, see also
here.
Prehistory:
I found the GameCron plugin here, and I liked it well. But my server isn#t visited any time. If a player connects, the server restarts the game, but not GameCron restarts.
So I've added a check about players connections.
Description:
A mapspecific time managment system, executes commands from a predetermined time after a map starts and after a player connection.
Commands:
Code:
sm_mapcron_add <seconds> <command> - Add delayed command.
sm_mapcron_del <id> - Delete task by id.
sm_mapcron_clear - Delete all tasks.
sm_mapcron_list - List all current tasks.
sm_mapcron_restart - Restart all timers for tasks.
Changelog:
v 1.2 RC 29/08/12:
improved clientcheck
v 1.1 beta 27/08/12:
add clientcheck and servermessages
v 1.0 beta 25/08/12:
First run, add OnClinentConnected and OnClientDisconnected
Credits:
Original script by
otstrel.ru Team
Written by
altex
Reference:
https://forums.alliedmods.net/showthread.php?p=820076
Notes:
If you want execute commands on every map at the same time, write them into the server.cfg, or into a mapspecific configuration file.
It is advisable that you first commando can carry sm_mapcron_clear, as the list is not deleted after a map change.