From ab1671deea1344cc7d381263ba6d5128bdc4e0bc Mon Sep 17 00:00:00 2001 From: Andyyy7666 <86536434+Andyyy7666@users.noreply.github.com> Date: Wed, 13 Apr 2022 20:35:21 +0200 Subject: [PATCH] Update main.lua --- ND_Core/source/client/main.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ND_Core/source/client/main.lua b/ND_Core/source/client/main.lua index c27b9bc..db8076f 100644 --- a/ND_Core/source/client/main.lua +++ b/ND_Core/source/client/main.lua @@ -151,8 +151,8 @@ if config.enableMoneySystem then while not registered do Citizen.Wait(10) end - cash = newCash - bank = newBank + cash = tostring(newCash) + bank = tostring(newBank) if config.legacyMoneyDisplay then if registered then while true do @@ -222,7 +222,7 @@ RegisterNUICallback("tpToLocation", function(data) end) -- Choosing the do not tp button. -RegisterNUICallback("tpDoNot", function(data) +RegisterNUICallback("tpDoNot", function() local ped = PlayerPedId() SwitchInPlayer(ped) Citizen.Wait(500) @@ -350,7 +350,7 @@ function text(text, x, y, scale, font) SetTextEdge(1, 0, 0, 0, 255) SetTextDropShadow(0, 0, 0, 0,255) SetTextOutline() - SetTextJustification(1) + SetTextJustification(1) SetTextEntry("STRING") AddTextComponentString(text) DrawText(x, y)