mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-11-17 10:58:33 +00:00
AddEventHandler.... not needed <3
This commit is contained in:
1 parent
803727e4e0
commit
7f153e72b2
14 files changed
+33
-66
No files matched your search
@@ -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({
|
||||
|
||||
Reference in new issue
Block a user