Move local money
This commit is contained in:
@@ -104,7 +104,6 @@ let serverData = {
|
||||
};
|
||||
|
||||
let localPlayerMoney = 0;
|
||||
let localPlayerMoneyInterval = null;
|
||||
|
||||
let currencyString = "${AMOUNT}";
|
||||
|
||||
|
||||
@@ -7,6 +7,10 @@
|
||||
// TYPE: Client (JavaScript)
|
||||
// ===========================================================================
|
||||
|
||||
let localPlayerMoneyInterval = null;
|
||||
|
||||
// ===========================================================================
|
||||
|
||||
function initTimersScript() {
|
||||
logToConsole(LOG_DEBUG, "[V.RP.Timers]: Initializing timer script ...");
|
||||
logToConsole(LOG_DEBUG, "[V.RP.Timers]: Timers script initialized!");
|
||||
@@ -15,6 +19,7 @@ function initTimersScript() {
|
||||
// ===========================================================================
|
||||
|
||||
function initTimers() {
|
||||
localPlayerMoneyInterval = setInterval(updateLocalPlayerMoney, 1000 * 5);
|
||||
}
|
||||
|
||||
// ===========================================================================
|
||||
Reference in New Issue
Block a user