Raised This Month: $ Target: $400
 0% 

Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 09-16-2013 , 15:48   Re: Help
Reply With Quote #4

Code:
set_task(float(24*60*60), "function"); public function() {     server_print("I'm called 24 hours after set_task()"); }
This will reset the counter every time you change map or restart server since plugins are reloaded then.
If you want something done at a specific time instead of after an amount of time this would be better:
https://forums.alliedmods.net/showpo...0&postcount=10
__________________

Last edited by Black Rose; 09-16-2013 at 15:49.
Black Rose 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 19:02.


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