Closed Chalwk closed 3 years ago
Updated with a fix for a bug (described below)
The bug: Suppose we have an array of 7 maps but we want to show a maximum of 5 maps when the game ends. At the end of game 1, the script will display the first 5 maps in the array. At the end of game 2, the script will display the remaining 2 but not loopback and include the first 3 (for a total of 5) of the first group.
This has been fixed.
May 06, 2021 Updated just now with some tweaks to the script documentation and corrected a couple of minor bugs.
MAP VOTE SYSTEM UPDATES: 1). Added the option to limit how many times a player can re-vote (once by default).
2). In the case that all maps voted for have equal votes, the script will now pick a random one.
3). Added the option to clear the player's console each time we need to print the vote options.
4). Refactored a couple of functions for improved performance & updated script documentation.
Stale issue message
Title: Map Vote System
Description:
This script is a drop-in replacement for SAPP's built-in voting system.
Download Link
CONFIGURATION: