From d8dde078453bd223e89ea8c75188d47a21476fcd Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Tue, 21 Feb 2023 19:49:13 -0600 Subject: [PATCH] Change HUD money colour to white (will add more to HUD) --- scripts/client/hud.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/client/hud.js b/scripts/client/hud.js index c79f7b68..6db47e91 100644 --- a/scripts/client/hud.js +++ b/scripts/client/hud.js @@ -8,7 +8,7 @@ // =========================================================================== let customHUDMoneyFont = null; -let customHUDMoneyColour = toColour(200, 200, 200, 200); +let customHUDMoneyColour = toColour(255, 255, 255, 255); let customHUDMoneySize = 22.0; // =========================================================================== @@ -33,6 +33,7 @@ function processCustomHUDRendering() { let text = getCurrencyString(localPlayerMoney); logToConsole(LOG_VERBOSE, `[V.RP.HUD]: Rendering custom HUD money (${text})...`); customHUDMoneyFont.render(text, [game.width - 150, 20], 130, 1.0, 0.0, customHUDMoneyFont.size, customHUDMoneyColour, true, true, false, true); + graphics.drawRectangle() } else { logToConsole(LOG_VERBOSE | LOG_ERROR, `[V.RP.HUD]: Rendering custom HUD money FAILED. Font object is null!`); }