mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-19 07:56:02 +01:00
feat(interface/alert): register net event (#41)
Allow the alert dialog to be called from server.
This commit is contained in:
@@ -10,3 +10,5 @@ RegisterNUICallback('closeAlert', function(_, cb)
|
||||
cb(1)
|
||||
SetNuiFocus(false, false)
|
||||
end)
|
||||
|
||||
RegisterNetEvent('ox_lib:alertDialog', lib.alertDialog)
|
||||
|
||||
Reference in New Issue
Block a user