View Single Post
Author Message
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 03-30-2021 , 10:17   [CS:GO] Disable end match nextmap vote
Reply With Quote #1

[CS:GO] Disable end match nextmap vote
- Don't bring in-game map vote when mp_endmatch_votenextmap 0


CS:GO have own kind map cycle list, when you set mapgroup or host workshop collection.
You see map list by using command: print_mapgroup_sv
Code:
print_mapgroup_sv
Map group: mg_active
     de_inferno
     de_train
     de_mirage
     de_nuke
     de_dust2
     de_overpass
     de_vertigo
- SourceMod with base plugins is not using this map list, remember that!

If print_mapgroup_sv is not empty, show more than one map, you will get CS:GO in-game nextmap vote end of match.
Regardless you have set mp_endmatch_votenextmap 0, game still view maps at end of match. Players just can't vote anymore.
This plugin stop showing those maps when you have mp_endmatch_votenextmap 0

after

Bonus:
- sm_endmatch_choreographed_scene, 1 by default.
When sm_endmatch_choreographed_scene 0, show only scoreboard, don't show choreographed scene at end of match.







Require:
DHooks2 = https://github.com/peace-maker/DHooks2/tags
https://github.com/peace-maker/DHooks2/releases
*UPDATE 08.03.2023 DHooks is part of SourceMod now. If you still did not notice it.

- CS:GO updates could break this plugin.
- Your server maybe crash by this plugin. Please, remove plugin and try again will crash stop.
- Tested on Windows, not sure how it work on Linux.


*edit
Here is version of plugin without sm_endmatch_choreographed_scene part #16

*edit
03.02.2023 - Gamedata file updated, twice
Attached Files
File Type: zip csgo_nextmapvote_disable.zip (6.7 KB, 1115 views)
File Type: txt csgo_endmatch_votenextmap.games.txt (2.7 KB, 368 views)

Last edited by Bacardi; 03-08-2023 at 12:35. Reason: update, *UPDATE 08.03.2023 DHooks is part of SourceMod now. If you still did not notice it.
Bacardi is offline