Would thi sbe how i go about making a timer for my server?
In General.cs
and then im done
is ther anything im missing
im making an auto save timer for lotf
In General.cs
Code:
public static System.Timers.Timer Thetimer;
Code:
//Regular Save Timer
Thetimer = new System.Timers.Timer();
Thetimer.Interval = 5000;//5 seconds
Thetimer.Elapsed += new ElapsedEventHandler(Thetimer_Elapsed);
Thetimer.Start();
is ther anything im missing
im making an auto save timer for lotf