REFACTORRRRRR

fuck you
This commit is contained in:
Niko
2022-07-16 00:12:02 -04:00
parent 68721a4633
commit 44b21a1398
19 changed files with 136 additions and 143 deletions

View File

@@ -39,7 +39,7 @@ end
-- Hide/Show ui
function SetDisplay(bool)
local selectedCharacter = NDCore.functions:getSelectedCharacter()
local selectedCharacter = NDCore.Functions.GetSelectedCharacter()
display = bool
SetNuiFocus(bool, bool)
SendNUIMessage({
@@ -146,7 +146,7 @@ end)
RegisterNetEvent("ND_Banks:update")
AddEventHandler("ND_Banks:update", function(status)
Citizen.Wait(1000)
local selectedCharacter = NDCore.functions:getSelectedCharacter()
local selectedCharacter = NDCore.Functions.GetSelectedCharacter()
SendNUIMessage({
balance = "Account Balance: $" .. selectedCharacter.bank .. ".00",
success = status