mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-16 17:48:33 +00:00
feat(interface/alert): register net event (#41)
Allow the alert dialog to be called from server.
This commit is contained in:
1 parent
de03da1204
commit
e93981fc95
1 file changed
+3
-1
@@ -9,4 +9,6 @@ end
|
||||
RegisterNUICallback('closeAlert', function(_, cb)
|
||||
cb(1)
|
||||
SetNuiFocus(false, false)
|
||||
end)
|
||||
end)
|
||||
|
||||
RegisterNetEvent('ox_lib:alertDialog', lib.alertDialog)
|
||||
Reference in new issue
Block a user