Quote:
Originally Posted by Stardust
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!
|
So I tried to do something like this, but it's not working at all.
What is the problem?
I put the commands in amxx.cfg
Code:
amx_task 10:01 "mapcyclefile mapcyclefile.txt" tr
amx_task 10:00 "amx_setmod disable 1" tr
amx_task 10:00 "amxx unpause vip_fioriginal.amxx" tr
amx_task 10:00 "amxx unpause lastmanbets.amxx" tr
amx_task 10:00 "amx_map fy_snow" tr
amx_task 9:55 "amx_tsay blue Modul de Normal se activeaza in 5 minute!" tr
amx_task 9:50 "amx_tsay blue Modul de Normal se activeaza in 10 minute" tr
amx_task 9:30 "amx_tsay blue Modul de Normal se activeaza in 30 de minute!" tr
amx_task 9:00 "amx_tsay blue Modul de Normal se activeaza intr-o ora!" tr