Copy this code there:
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.
YOUR SERVER CONFIGURATION (example: START/HIGH /wait hlds.exe +sv_lan 0 -game cstrike -port 27016 +maxplayers 32 +map de_dust2 -noipx -insecure -nomaster -console)
echo (%time%) WARNING: hlds closed or crashed, restarting.
goto hlds
If the server is "lie", it will automatically restart.