From 65bad453eabd65e036e8c8f210cf5cc2cd25b3b7 Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Sun, 4 Sep 2022 15:48:59 -0500 Subject: [PATCH] Currency string --- scripts/client/netevents.js | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/scripts/client/netevents.js b/scripts/client/netevents.js index 780733cf..7b70abeb 100644 --- a/scripts/client/netevents.js +++ b/scripts/client/netevents.js @@ -8,10 +8,9 @@ // TYPE: Client (JavaScript) // =========================================================================== -function initServerScript() { - logToConsole(LOG_DEBUG, "[VRR.Server]: Initializing server script ..."); - addAllNetworkHandlers(); - logToConsole(LOG_DEBUG, "[VRR.Server]: Server script initialized!"); +function initNetworkEventsScript() { + logToConsole(LOG_DEBUG, "[VRR.NetEvents]: Initializing server script ..."); + logToConsole(LOG_DEBUG, "[VRR.NetEvents]: Server script initialized!"); } // =========================================================================== @@ -442,4 +441,10 @@ function clearLocalPlayerOwnedPickups() { } } +// =========================================================================== + +function receiveCurrencyStringFromServer(newCurrencyString) { + currencyString = newCurrencyString; +} + // =========================================================================== \ No newline at end of file