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:
2026-04-03 02:47:59 +03:00
parent 06414ed181
commit e756e29294
1539 changed files with 51926 additions and 39806 deletions
@@ -6,12 +6,19 @@
-- Add car keys
function WSB.giveCarKeys(plate, _model, _vehicle)
exports['qs-vehiclekeys']:GiveKeys(plate, _model, true)
if GetResourceState('wasabi_carlock') == 'started' then
return exports.wasabi_carlock:GiveKey(plate) -- Leave like this if using wasabi_carlock
end
if GetResourceState('qb-vehiclekeys') == 'started' then
return TriggerServerEvent('qb-vehiclekeys:server:AcquireVehicleKeys', plate)
end
end
function WSB.removeCarKeys(plate, _model, _vehicle)
exports['qs-vehiclekeys']:RemoveKeys(plate, _model)
if GetResourceState('wasabi_carlock') == 'started' then
return exports.wasabi_carlock:RemoveKey(plate)
end
end
exports('giveCarKeys', WSB.giveCarKeys) -- Export for use in other scripts