Raised This Month: $ Target: $400
 0% 

Task Scheduler - by JustinHoMi


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
OutSider03
New Member
Join Date: Jan 2018
Old 01-19-2018 , 02:34   Re: Task Scheduler - by JustinHoMi
Reply With Quote #8

Quote:
Originally Posted by Stardust View Post
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
OutSider03 is offline
 



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 10:03.


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