feat(interface/alert): register net event (#41)

Allow the alert dialog to be called from server.
This commit is contained in:
PoorLatency
2022-06-17 01:23:56 -07:00
committed by GitHub
parent de03da1204
commit e93981fc95

View File

@@ -9,4 +9,6 @@ end
RegisterNUICallback('closeAlert', function(_, cb)
cb(1)
SetNuiFocus(false, false)
end)
end)
RegisterNetEvent('ox_lib:alertDialog', lib.alertDialog)