Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Server Shutdown
#1
Author: grimsk8ter11
Difficulty: 1/5

:: SERVER SIDE ::
In frmServer, add:
Code:
Private Sub Form_Load()
    ShutOn = False
End Sub

Replace the tmrShutdown_Timer sub with:[code]Private Sub tmrShutdown_Timer()
Static Secs As Long

If ShutOn = False Then
Secs = 30
Call TextAdd(frmServer.txtText, "Automated Server Shutdown Canceled!", True)
Call GlobalMsg("Server Shutdown Canceled!", BrightBlue)
tmrShutdown.Enabled = False
Exit Sub
End If
If Secs
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)