AddEventHandler.... not needed <3

This commit is contained in:
WLVF committed 2022-09-01 04:11:48 -04:00
1 parent 803727e4e0
commit 7f153e72b2
14 files changed
+33 -66

No files matched your search

+1 -2
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({