Raised This Month: $ Target: $400
 0% 

get Day / Night


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 12-25-2014 , 15:29   Re: get Day / Night
Reply With Quote #2

How this could cause CPU usage ? plugin_init is called one time and also you don't need to use static. Also the array size is too big, 6 is enough for a full time string. Also your code won't work 100%, because you are not sure that plugin_init will get called(by map change, server (re)start) exactly at 00:00
__________________

Last edited by HamletEagle; 12-25-2014 at 15:31.
HamletEagle 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 15:22.


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