mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-27 21:04:45 +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
+2
@@ -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)
|
||||||
Reference in new issue
Block a user