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