AddEventHandler.... not needed <3

This commit is contained in:
WLVF
2022-09-01 04:11:48 -04:00
parent 803727e4e0
commit 7f153e72b2
14 changed files with 33 additions and 66 deletions

View File

@@ -131,8 +131,7 @@ RegisterNUICallback("useATM", function(data)
end)
-- update the balance on the ui and confirm if the deposit/withdraw was successful.
RegisterNetEvent("ND_ATMs:update")
AddEventHandler("ND_ATMs:update", function(status)
RegisterNetEvent("ND_ATMs:update", function(status)
Citizen.Wait(1000)
local selectedCharacter = NDCore.Functions.GetSelectedCharacter()
SendNUIMessage({