mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-17 13:56:02 +01:00
REFACTORRRRRR
fuck you
This commit is contained in:
@@ -36,7 +36,7 @@ end
|
||||
|
||||
-- Hide/Show ui
|
||||
function SetDisplay(bool)
|
||||
local selectedCharacter = NDCore.functions:getSelectedCharacter()
|
||||
local selectedCharacter = NDCore.Functions.GetSelectedCharacter()
|
||||
display = bool
|
||||
SetNuiFocus(bool, bool)
|
||||
SendNUIMessage({
|
||||
@@ -134,7 +134,7 @@ end)
|
||||
RegisterNetEvent("ND_ATMs:update")
|
||||
AddEventHandler("ND_ATMs: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