View Single Post
Author Message
KoNLiG
AlliedModders Donor
Join Date: Sep 2020
Location: Israel
Old 08-09-2021 , 08:22   [CS:GO] Custom Votes [Panorama] (v2.0 | 9 August 2021)
Reply With Quote #1

Custom Votes

Description:
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:

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!
ConVars:
Code:
// 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"
API:
Spoiler


Change Log:
Quote:
9 August, 2021 [1.0]
• Initial release.
Quote:
20 August, 2021 [2.0]
• API Expansion, added define to broadcast vote forever and small patches.
Quote:
21 August, 2021 [2.2]
• Additional patches related to the last release.
Corrections, suggestions and improvements are welcome!

To compile you have to use 1.10+ SourceMod compiler.

GitHub Repository
Latest Release
__________________
For questions/plugin requests contact me:

• Discord: KoNLiG#6417
• Steam: KoNLiG

Last edited by KoNLiG; 06-08-2022 at 03:43.
KoNLiG is offline