Main/resources/[jobs]/[civ]/nordi_delivery/bridge/client/qb.lua
2025-06-07 08:51:21 +02:00

23 lines
599 B
Lua

if GetResourceState('qb-core') ~= 'started' or GetResourceState('qbx_core') == 'started' then return end
local QBCore = exports['qb-core']:GetCoreObject()
RegisterNetEvent('QBCore:Client:OnPlayerLoaded', function()
OnPlayerLoaded()
end)
RegisterNetEvent('QBCore:Client:OnPlayerUnload', function()
OnPlayerUnload()
end)
function handleVehicleKeys(veh)
TriggerEvent('vehiclekeys:client:SetOwner', GetVehicleNumberPlateText(veh))
end
function hasPlyLoaded()
return LocalPlayer.state.isLoggedIn
end
function DoNotification(text, nType)
QBCore.Functions.Notify(text, nType)
end