Update main.lua

This commit is contained in:
Andyyy7666
2022-04-13 20:35:21 +02:00
committed by GitHub
parent c7cc06532c
commit ab1671deea

View File

@@ -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)