Page 1 of 1

[CS:GO] Terrible Enable Demolition Map Vote (0.2)

Posted: Thu Jan 23, 2020 6:35 pm
by Andreeas
----------------------------------------------------
In Demolition and Competitive, it is possible for a team to clinch victory before a map vote has occurred. This plugin ensures that the map vote occurs every map.


Commands and Cvars
----------------------------------------------------
sm_tedmv_version Plugin Version
sm_tedmv_enable (Default 1) Enable or disable plugin, 1 - enable, 0 - disable


Requirements
----------------------------------------------------
Counter-Strike: Global Offensive
SourceMod 1.5.0+


Installation
----------------------------------------------------
Place tedmv.smx in your \addons\sourcemod\plugins directory.


Dependencies
----------------------------------------------------
mapchooser.smx

Changelog
----------------------------------------------------
Version 0.1 (14 October 2012)
-Initial Version
Version 0.2 (17 October 2012)
-Plugin now uses cstrike functions to check team score
-Plugin does not force a vote for mp_maxrounds 0

Notes
----------------------------------------------------
You don't need this plugin if you are using roundtime instead of maxrounds to end maps.
The plugin forces a mapchooser vote whenever either team has won enough rounds (specifically, 2 less than half the maximum rounds). For instance, if there are 20 rounds in a match, the vote will occur when either the CT team or T team gets 8 wins.
Despite the name, this plugin works for competitive as well. You're welcome to modify the plugin to suit your specific server needs.



tedmv.smx
Plugin / Source