Створюємо текстовий файл у блокноті в папці сервера, там де знаходиться файл hlds.exe Копіюємо туди ось цей код:
Code
@echo off
cls
echo Protecting hlds from crashes...
echo If you want to close srcds and this script, close the hlds window and type Y depending on your language followed by Enter.
title hlds.com Watchdog
:hlds
echo (%time%) hlds started.
START/HIGH /wait hlds.exe +sv_lan 1 -game cstrike -port 27015 +maxplayers 21 +map de_dust2 -noipx -insecure -nomaster -console
echo (%time%) WARNING: hlds closed or crashed, restarting.
goto hlds
Закриваємо і зберігаємо файл з розширенням. Bat
У разі якщо сервер "ляже" то він автоматично перезапуститься.
Після START / HIGH / wait hlds.exe вводимо свої параметри запуску сервера які вам підходять.