CSGO: Disable the server to stop

Please post any questions about developing your plugin here. Please use the search function before posting!
nullable
Senior Member
Posts: 137
Joined: Sat Nov 08, 2014 7:22 pm

CSGO: Disable the server to stop

Postby nullable » Fri Sep 11, 2015 4:49 am

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.
stonedegg
Senior Member
Posts: 141
Joined: Sun Aug 12, 2012 11:45 am

Postby stonedegg » Fri Sep 11, 2015 8:36 pm

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.
nullable
Senior Member
Posts: 137
Joined: Sat Nov 08, 2014 7:22 pm

Postby nullable » Sun Sep 20, 2015 9:22 am

Yes, thank you. I am shuting down server by myself

Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 25 guests