Thanks to @Resxt for providing suggestions to improve the script and for creating the chat_commands scripts!
Change notes:
- 1.2.0:
- Changed the script for updating the values to be done per upgrade instead of all at once to prevent unnecessary condition checking.
- Changed the infinite looping to be done with for(;;).
- Made the HUD get destroyed and removed from the HUD parent array upon end_game and player disconnect and toggling off the HUD and refreshing it.
- Renamed the chat commands.
- Added options to toggle trackers of individual upgrades.
- 1.1.3:
- Changed the load-in message to appear once the player connects instead of every time the player spawns.
- 1.1.2:
- Restyling the code and modifying the table of Persistent Upgrades in README.
- 1.1.1:
- Replaces a custom function in pers_upgrades_live_tracker_chat_commands.gsc to use a native function instead, and slight modifications.
- 1.1.0:
- Modifies the method of displaying the text to avoid an overflow error.
- 1.0.1:
- Improves where the HUD gets located.
- Replaces some symbols.
- Includes a message at the start of the match.