fix(qb-core): post-update recovery + centralizare notify 17mov_Hud
Restaurat jobs.lua din git (Quasar fork a suprascris joburile 17mov). Adăugat item map în items.lua (lipsea, rupt rv-maphold). Setat licences.driver = false în config.lua. Override QBCore.Functions.Notify + QBCore:Notify event → 17mov_Hud:ShowNotification (toate notificările merg automat prin 17mov_Hud).
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user