mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-18 14:26:03 +01:00
Update main.lua
This commit is contained in:
@@ -151,8 +151,8 @@ if config.enableMoneySystem then
|
|||||||
while not registered do
|
while not registered do
|
||||||
Citizen.Wait(10)
|
Citizen.Wait(10)
|
||||||
end
|
end
|
||||||
cash = newCash
|
cash = tostring(newCash)
|
||||||
bank = newBank
|
bank = tostring(newBank)
|
||||||
if config.legacyMoneyDisplay then
|
if config.legacyMoneyDisplay then
|
||||||
if registered then
|
if registered then
|
||||||
while true do
|
while true do
|
||||||
@@ -222,7 +222,7 @@ RegisterNUICallback("tpToLocation", function(data)
|
|||||||
end)
|
end)
|
||||||
|
|
||||||
-- Choosing the do not tp button.
|
-- Choosing the do not tp button.
|
||||||
RegisterNUICallback("tpDoNot", function(data)
|
RegisterNUICallback("tpDoNot", function()
|
||||||
local ped = PlayerPedId()
|
local ped = PlayerPedId()
|
||||||
SwitchInPlayer(ped)
|
SwitchInPlayer(ped)
|
||||||
Citizen.Wait(500)
|
Citizen.Wait(500)
|
||||||
@@ -350,7 +350,7 @@ function text(text, x, y, scale, font)
|
|||||||
SetTextEdge(1, 0, 0, 0, 255)
|
SetTextEdge(1, 0, 0, 0, 255)
|
||||||
SetTextDropShadow(0, 0, 0, 0,255)
|
SetTextDropShadow(0, 0, 0, 0,255)
|
||||||
SetTextOutline()
|
SetTextOutline()
|
||||||
SetTextJustification(1)
|
SetTextJustification(1)
|
||||||
SetTextEntry("STRING")
|
SetTextEntry("STRING")
|
||||||
AddTextComponentString(text)
|
AddTextComponentString(text)
|
||||||
DrawText(x, y)
|
DrawText(x, y)
|
||||||
|
|||||||
Reference in New Issue
Block a user