This commit is contained in:
2026-07-07 21:08:52 +02:00
commit 4c20cfc716
2613 changed files with 318021 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
RegisterNetEvent('oxmysql:openUi', function(data)
SendNUIMessage({
action = 'openUI',
data = data
})
SetNuiFocus(true, true)
end)
RegisterNUICallback('exit', function(_, cb)
cb(true)
SetNuiFocus(false, false)
end)
RegisterNUICallback('fetchResource', function(data, cb)
TriggerServerEvent('oxmysql:fetchResource', data)
cb(true)
end)
RegisterNetEvent('oxmysql:loadResource', function(data)
SendNUIMessage({
action = 'loadResource',
data = data
})
end)