--[[ ░▒▓████████▓▒░▒▓██████▓▒░ ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓███████▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓████████▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓███████▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░ ░▒▓█▓▒░ ░▒▓██████▓▒░ ░▒▓█▓▒░░▒▓█▓▒░░▒▓██████▓▒░░▒▓███████▓▒░ This File Leaked By TC HUB Team, Join Our Server For More DISCORD: - https://discord.gg/k3S8RjkPWc - https://t.me/+RgDxwPX3L7w2ODBk - https://tchub.shop/ --]] RegisterNetEvent("ZSX_Garages:On:StateChange", function(isInGarage) if Config.Keys == "MrNewbVehicleKeys" then _import("keys/MrNewbVehicleKeys").setHotwireState(isInGarage) end end) local function RefreshGarageMapData(reason) if Garage and Garage.SchedulePrepare then Garage.SchedulePrepare(reason, 1000) end if Impound and Impound.SchedulePrepare then Impound.SchedulePrepare(reason, 1000) end end RegisterNetEvent("QBCore:Client:OnPlayerLoaded", function() RefreshGarageMapData("playerLoaded") end) RegisterNetEvent("qbx_core:client:onPlayerLoaded", function() RefreshGarageMapData("playerLoaded") end) RegisterNetEvent("QBCore:Client:OnJobUpdate", function(job) RefreshGarageMapData("jobUpdate") end) RegisterNetEvent("esx:setJob", function(job, prevJob) RefreshGarageMapData("jobUpdate") end)