View Single Post
Stardust
New Member
Join Date: Apr 2004
Old 04-24-2004 , 10:25  
Reply With Quote #7

Quote:
Originally Posted by azure
hrrmm this is very interesting. Could I set this up to change the mapcycle possibly?

like have mapcycle 1 from 9 till 23 and then mapcycle2 from 23 til 9?
I did this with the amx mod an this plugin, worked fine.
Only problem was that I wanted to specify this once, but the amx config file was run every mapload.

hmm how did I do this ...
I did something like
amx_task 18:00 "amx_tsay blue Evening mapcycle loaded" t
amx_task 18:01 "mp_timelimit 20" t
amx_task 18:02 "mapcyclefile evening.txt" t

then around 0100 I switched back
amx_task 01:00 "amx_tsay blue Standard mapcycle loaded" t
amx_task 01:01 "mp_timelimit 25" t
amx_task 01:02 "mapcyclefile mapcyclefile.txt" t


hmm how did I do this ...
I did something like
amx_task 18:00 "amx_tsay blue Evening mapcycle loaded" t
amx_task 18:01 "mp_timelimit 20" t
amx_task 18:02 "mapcyclefile evening.txt" t

then around 0100 I switched back
amx_task 01:00 "amx_tsay blue Standard mapcycle loaded" t
amx_task 01:01 "mp_timelimit 25" t
amx_task 01:02 "mapcyclefile mapcyclefile.txt" t


one nice thing about this plugin is delayed action, like shutdown

alias shutdown "exec shutdown.cfg"
---
file shutdown.cfg
--
amx_tsay red Shutting down server in 10 seconds
amx_task 10 "quit" s
amx_task 7 "amx_tsay red Server shutting down, come back later." s
--

then you just send "shutdown" to hlds via your favorite admin tool.

This plugin has endless possibilities, thx for the port!
Stardust is offline