qbcore-framework / qb-garages

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

[BUG] Error attempt to index a nil value putVehicle #270

Closed SlimChances closed 11 months ago

SlimChances commented 1 year ago

Describe the bug Sometimes when a player tries to use the garage for anything hitting E doesn't work.

To Reproduce I couldnt just happens at random

Expected behavior should be able to use the garage Screenshots here is a picture of the error code https://imgur.com/zM5hR1K

Questions (please complete the following information):

Additional context N/A

blinkyAU commented 1 year ago

try https://github.com/qbcore-framework/qb-garages/issues/229#issuecomment-1338895518

s1nyx commented 1 year ago

Hi @SlimChances,

You're missing putVehicle variable in your config file for at least one of your garages.

Snili866 commented 1 year ago

got this bug tried the fix but not workin for me..any other fix i could try?

github-actions[bot] commented 11 months ago

This issue has had 60 days of inactivity & will close within 7 days