This plugin exposes the functionality of the internal CS:GO vote panels.
Features:
Quote:
• Customizable vote question text. (HTML supported)
• Customizable pass text. (HTML supported)
• Customizable panel icons.
• Custom votes can be canceled at any time and moment.
• Full control over player voting.
• Ability of blocking & modifying votes.
• Broadcast custom votes to any group of player you want.
Installation:
ConVars:Quote:
1. Place 'customvotes.smx' in '/csgo/addons/sourcemod/plugins/'.
2. Load the plugin via the command line 'sm plugins load customvotes', map change or server restart.
3. Done!
githubCode:
// Sound file path that will be played once a client has voted no.
// -
// Default: "sound/ui/menu_invalid.wav"
custom_votes_negative_vote_sound "sound/ui/menu_invalid.wav"
// Sound file path that will be played once a client has voted yes.
// -
// Default: "sound/ui/menu_accept.wav"
custom_votes_positive_vote_sound "sound/ui/menu_accept.wav"