Garry's Mod
sv_restart (superadmin command)
Mostrando 1-4 de 4 aportaciones
Actualización: 4 NOV 2016 a las 8:09

Finally crashing the srcds on Windows displays a debugging box, which simply prevents the restart to occur without a manual operation...

Actualización: 31 OCT 2016 a las 22:50

For compatibility with any anti-crash script in any OS, I use the crash trick to get an errorlevel of -1, which can be detected to choose whether to restart or to quit.

Actualización: 29 JUL 2016 a las 6:17

- Now it should work with Linux. Unfortunately it will generate a crash dump.
- Now it will do nothing on a non-dedicated game.

Actualización: 1 JUL 2016 a las 21:37