Minor edits on the error/notice boxes
Moved input error into _printError() handle
This commit is contained in:
parent
f631ddd2d1
commit
df28df5d98
|
@ -152,11 +152,13 @@ EndFunc
|
|||
Func _printError($id = false)
|
||||
Switch $id
|
||||
Case "noapi"
|
||||
MsgBox(16, "ERROR", "API not available.")
|
||||
MsgBox(16, "SMACheck - ERROR", "API not available.")
|
||||
Case "update_force"
|
||||
MsgBox(16, "Required Update available", "Required Update available." & @CRLF & @CRLF & "Please download new Version from smacbans.com.")
|
||||
MsgBox(16, "SMACheck - Required Update available", "Required Update available." & @CRLF & @CRLF & "Please download new Version from smacbans.com.")
|
||||
Case "update"
|
||||
MsgBox(48, "Update available", "New Update available." & @CRLF & @CRLF & "Visit smacbans.com for more Info and Download.")
|
||||
MsgBox(48, "SMACheck - Update available", "New Update available." & @CRLF & @CRLF & "Visit smacbans.com for more Info and Download.")
|
||||
Case "wrongid"
|
||||
MsgBox(16, "SMACheck - ERROR", "Please enter a SteamId or SteamId64.")
|
||||
Case Else
|
||||
Return
|
||||
EndSwitch
|
||||
|
|
Reference in New Issue