Raised This Month: $ Target: $400
 0% 

Exact time with Task Scheduler


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 10-19-2019 , 15:39   Re: Exact time with Task Scheduler
Reply With Quote #4

That plugin works but has a few things wrong. With very few changes it can handle seconds. It was so simple to make possible, I'm not sure why the coder didn't do this to begin with. Literally as simple as changing get_time("%H:%M",curtime,charsmax(curtime)) to get_time("%H:%M:%S",curtime,charsmax(curtime) ) and expanding the string size that holds the time value to accommodate seconds and changing the set_task() interval to 1.0 second.

Tested and works with this (without the extra spaces in the time): amx_task "15 : 37 : 00" "changelevel de_dust" t

Spoiler
__________________

Last edited by Bugsy; 10-19-2019 at 15:43.
Bugsy 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