Renewed-Scripts/qb-phone

vehicles app does not show vehicles

Donnyjohn1 opened this issue · 6 comments

also breaks qb garages script

im runnig the latest qb-garages

RegisterNetEvent('qb-garages:client:houseGarageConfig', function(garageConfig)
    HouseGarages = garageConfig
end)

Find this and replace it with

RegisterNetEvent('qb-garages:client:houseGarageConfig', function(garageConfig)
    Config.HouseGarages = garageConfig
end)

try that

Qb-garages/client/main.lua

im runnig the latest qb-garages

Headover to QB-Phone/server/garage.lua

On line 56, Replace this block of code

            if v.garage then
                if Garages[v.garage] then
                    VehicleGarage = Garages[v.garage]["label"]
                else
                    VehicleGarage = v.garage
                end
            end

With this

            if v.garage then
                if Config.Garages[v.garage] then
                    VehicleGarage = Config.Garages[v.garage]["label"]
                else
                    VehicleGarage = v.garage
                end
            end

Fixed in a previous update