Register for your free account! | Forgot your password?

You last visited: Today at 20:55

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Help with this timer

Discussion on Help with this timer within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2009
Posts: 47
Received Thanks: 2
Help with this timer

RestartTimer = new System.Timers.Timer();
RestartTimer.Interval = (120 * 60 * 100);<<Make this Ever hour?
RestartTimer.Elapsed += new ElapsedEventHandler(RestartTimer_E);
RestartTimer.Start();

Lol what do i put there to make it ever hour im use to just numbers not that
Petetoft99 is offline  
Old 03/25/2009, 23:43   #2
 
andyd123's Avatar
 
elite*gold: 20
Join Date: Apr 2006
Posts: 1,341
Received Thanks: 886
Well there are 1000 MS in one second.
You're looking at 3,600 seconds.

Do the math.
andyd123 is offline  
Old 03/26/2009, 00:31   #3
 
elite*gold: 20
Join Date: Apr 2008
Posts: 2,281
Received Thanks: 912
H x 60 = M
M x 60 = S
S x 1000 = MS
kinshi88 is offline  
Reply


Similar Threads Similar Threads
Help with gw timer
02/10/2010 - CO2 Private Server - 0 Replies
Hey, i am using a timer on my gw and im trying to figure out how to make it that the timer could restart before it ends. if you can help me then reply here or add me on msn [email protected] thx in advance flamers will be reported
Timer
07/08/2009 - CO2 Private Server - 12 Replies
Would thi sbe how i go about making a timer for my server? In General.cs public static System.Timers.Timer Thetimer; //Regular Save Timer Thetimer = new System.Timers.Timer(); Thetimer.Interval = 5000;//5 seconds Thetimer.Elapsed += new ElapsedEventHandler(Thetimer_Elapsed); Thetimer.Start();
[au3]Timer
08/26/2008 - General Coding - 2 Replies
hallo, habe eine frage zu einem timer, undzwar soll es im endeffekt so aussehen das sich ein label auf einer form im sekundentakt von selbst aktualisiert, quasi wie nen timer ;) leider hab ich kein plan wo ich da ansetzen kann. hier mal ein codeausschnitt: $countdown ist die variable die in dem label aktualisiert werden soll. ..... #Region ### START Koda GUI section ### Form=
Timer
06/04/2008 - Metin2 - 13 Replies
Hey leute kann mir jemand bitte eine datei programmiern, die nachdem start den pc in 90 mins herunterfährt. :) ich bräuchte ihn für den angelbot;), damit ich ihn starten kann, wenn ich in der schule bin, ohne das der pc umsonst so lang an bleibt.:D
Timer
01/14/2005 - General Gaming Discussion - 8 Replies
Hi Leutz Dieser Timer is ne gute hilfe fuer alle Klassen die beim OP fight mit machen. Der Timer zeigt euch welcher Buff gerade ausgeht (10min Resistbuff) und wann Shelter/def ausläuft... für das schöne syncgelame ^^... gf and hf ;) http://home.pages.at/smoker/timer/timer.zip mfg das BluB



All times are GMT +2. The time now is 20:55.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.