Chalwk

Map Vote System

Tiddy-bits:

Sun, May 9th 2021

 

Updates:

  • Added the option to limit how many times a player can re-vote (once by default).
  • In the case that all maps voted for have equal votes, the script will now pick a random one.
  • Added the option to clear the player's console each time we need to print the vote options.
  • Refactored a couple of functions for improved performance & updated script documentation.
Edited by Chalwk
Denn, Takka and Enclusion like this

- I invite you to join my Halo Discord Server.

- Add me on discord: Chalwk#9284

- HSP Repo Wiki (new)

Share this post


Link to post
Share on other sites

Tues, May 11th 2021

 

Updates:

  • Corrected an error that appears when the script is unloaded.
  • Added 3 new customizable messages:

    1). You cannot re-vote at this time.
    If a player tries to vote more than "re_vote_count" times, this message will be sent to them.

    2). Please wait X second(s)...
    Message sent to player when they attempt to vote too early.
    This is after the game ends but before the PGCR is shown:


    3). Invalid map vote id. Please type a number between 1 & (max)
    Message sent to player when they type an invalid map vote id:

     

  • Tweaked script documentation.
  • Added new "error_log" property.
    If there are any errors, this will be the file to which they are logged (located in the root directory)
Edited by Chalwk
Takka likes this

- I invite you to join my Halo Discord Server.

- Add me on discord: Chalwk#9284

- HSP Repo Wiki (new)

Share this post


Link to post
Share on other sites
  • Recently Browsing   0 members

    No registered users viewing this page.