Raised This Month: $ Target: $400
 0% 

Solved hook to specific timestamp


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 12-04-2019 , 08:05   Re: hook to specific timestamp
Reply With Quote #2

First of all, this should be in Suggestions/Request.

You can run tasks in your plugin_init().
Something like:

Code:
set_task(get_timeleft() - 300.0, "Hook5MinutesRemaining");
For 5 minutes or
Code:
set_task(get_timeleft() - 30.0, "Hook30SecondsRemaining");
For 30 seconds.

Last edited by redivcram; 12-04-2019 at 08:05.
redivcram 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 02:42.


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