protected override void OnTick() { World.Broadcast(0x22, true, "WARNING:"); World.Broadcast(0x22, true, "The server will be restarting in 15 seconds."); AutoSave.Save(); I_Auto_RestarterC tmrC = new I_Auto_RestarterC(); tmrC.Start(); this.Stop(); }
protected override void OnTick() { World.Broadcast( 0x22, true, "WARNING:" ); World.Broadcast( 0x22, true, "The server will be restarting in 15 seconds." ); AutoSave.Save(); I_Auto_RestarterC tmrC = new I_Auto_RestarterC(); tmrC.Start(); this.Stop(); }