qbcore-framework / qb-garages

Garage System Used With QB-Core :car:
GNU General Public License v3.0
48 stars 260 forks source link

[BUG] vehical cannot be stored and keys #265

Closed bigal1690 closed 1 year ago

bigal1690 commented 2 years ago

Describe the bug it hasn't worked as it should cant store vehicle saying i don't own the vehicle.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Use this item '....' (item's name from shared.lua if applicable)
  4. See error

**Expected behavior should store vehicle

Screenshots If applicable, add screenshots to help explain your problem.

Questions (please complete the following information):

Additional context comes up with no errors f38c5df2e227382446f7d3ddac6cab56 750e01a0a514e97b6c36678196aa6342

tom-osborne commented 2 years ago

Fill out the form please. Otherwise I am closing this as invalid.

bigal1690 commented 2 years ago

updated

tom-osborne commented 2 years ago

"comes up with no errors" ... proceeds to show an error...

If it's telling you that you don't own the vehicle, have you tried buying a vehicle or giving yourself ownership using /admincar?

TheOldHook commented 2 years ago

Got this same issue, if you admincar it works but if you buy a car from qb-vehicleshop and go to the garage, you can park it in the garage, but if i want to take it out you can take out an unlimited amount of the same car.

Same error as above.

Nanorithm commented 1 year ago

Getting the same error, /admincar is still showing this vehicle can't be stored.

image


Edit: Fixed by adding the cars to the qb-core/shared/vehicles.lua file. The documentation didn't make that very clear but that needs to be done for every new car added if you want to be able to store it in a garage or own it.

PheOnXz commented 1 year ago

Same issue But With All Cars