mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-17 05:56:01 +01:00
REFACTORRRRRR
fuck you
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user