splewis / csgo-pug-setup

CS:GO Sourcemod plugin for setting up private pug/10man games
GNU General Public License v3.0
412 stars 90 forks source link

Add auto-pause functionality on team player leaving? #316

Open kikaragyozov opened 4 years ago

kikaragyozov commented 4 years ago

Do you have plans on adding this? It'd be really great, and possibly introducing a new cvar to disable this behavior so people do the old approach of writing .pause/using a bind.

Thank you!

EDIT: Also, when using the team lock plugin, will the leaver be able to re-join the team?

splewis commented 4 years ago

There is a cvar in the game that does this behavior: sv_matchpause_auto_5v5. I don't really recommend people use it though: using it can make unpausing a pain (you probably have to turn the cvar back off if you want to force unpause).

kikaragyozov commented 4 years ago

@splewis maybe you can make unpausing easier then, with a command offered by the plugin, for when sv_matchpause_auto_5v5 is indeed set to 1?

crashzk commented 4 years ago

I don't know if it would still be possible to implement this suggestion, in any case I could use WarMod's auto-pause system [BFG] as an example. He already has the option to automatically pause the competitive when one of the teams does not have the 5 players.