Garry's Mod

Garry's Mod

sv_restart (superadmin command)
Showing 1-4 of 4 entries
Update: Nov 4, 2016 @ 8:09am

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

Update: Oct 31, 2016 @ 10:50pm

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.

Update: Jul 29, 2016 @ 6:17am

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

Update: Jul 1, 2016 @ 9:37pm