Page 1 of 1
CSGO: Disable the server to stop
Posted: Fri Sep 11, 2015 4:49 am
by nullable
How to disable the server to stop at the exit of one of the teams? The problem is when one of the team are left the game the server is shutdown.
Posted: Fri Sep 11, 2015 8:36 pm
by stonedegg
mp_ignore_round_win_condition, maybe prehook player_disconnect to enable/disable this variable when last the player on team disconnects.
Edit: just re-read your question and thought it made no sense what I said. Why would you stop the server anyways? With filters.players.PlayerIter() you can check whether there are players on the server or not and then just don't shut your server down. SP by itself won't shut down your server.
Posted: Sun Sep 20, 2015 9:22 am
by nullable
Yes, thank you. I am shuting down server by myself