Updated NUI Callback Support.

This commit is contained in:
Pickle
2023-02-06 21:49:18 -05:00
committed by GitHub
parent aa9f2148c0
commit f52bf4cccb

View File

@@ -209,8 +209,9 @@ end)
RegisterNUICallback("pageLoaded", function()
RegisterNUICallback("pageLoaded", function(cb)
waitForLoad = false
if cb then cb() end
end)
AddEventHandler('onResourceStop', function(name)