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

@@ -10,3 +10,5 @@ RegisterNUICallback('closeAlert', function(_, cb)
cb(1) cb(1)
SetNuiFocus(false, false) SetNuiFocus(false, false)
end) end)
RegisterNetEvent('ox_lib:alertDialog', lib.alertDialog)