Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Garage comes with an error and dosent show any vehicle #134

Open
gusseglue opened this issue Jul 5, 2023 · 5 comments
Open

Garage comes with an error and dosent show any vehicle #134

gusseglue opened this issue Jul 5, 2023 · 5 comments

Comments

@gusseglue
Copy link

When i open the garage app on the phone then there comes an error over the server console.
image

@sassaba
Copy link

sassaba commented Jul 23, 2023

image
I am getting this error instead of that.

Try making sure your vehicles are in the vehicles.lua under qb-core/shared/vehicles.lua

@SIFU1337
Copy link

any fix?

@NoriMasashi
Copy link

Hmm I really dont know what happened but managed to fix my issue. I'd say make sure any vehicle addons is added within your vehicke.lua first

@Maxhero54
Copy link

Maxhero54 commented Feb 3, 2024

qb-phone garage err
I have the same problem, I can't see my vehicles? Do you know any fix??

qb-core/shared/vehicles.lua i have Blista in this list but not seen my phone ?

@Maxhero54
Copy link

Maxhero54 commented Feb 3, 2024

can be fix I closed some lines and added this code and it was fixed, details are in the attached picture.
local function GetGarageNamephone(name)
for k,v in pairs(Garages) do
if k == name then
return true
end
end
end
qb-phone garage fix

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants