qbcore-framework / qb-garages

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

[BUG] qb-garages/client/main.lua:403: bad argument #4 to 'vector4' (invalid vector type) #341

Closed Maxhero54 closed 9 months ago

Maxhero54 commented 9 months ago

Describe the bug i have this error F8 [ 3146171] [b2372_GTAProce] MainThrd/ ^1SCRIPT ERROR: @qb-garages/client/main.lua:403: bad argument #4 to 'vector4' (invalid vector type)^7 [ 3146171] [b2372_GTAProce] MainThrd/ ^3> ref^7 (^5@qb-garages/client/main.lua^7:403) [ 3146171] [b2372_GTAProce] MainThrd/ ^3> handler^7 (^5@qb-core/client/events.lua^7:215) [ 3146171] [b2372_GTAProce] MainThrd/ ^1SCRIPT ERROR: error object is not a string^7

To Reproduce Steps to reproduce the behavior: F8 also keeps repeating this error..

Expected behavior canbe solve my impound problems i am not sure

Screenshots https://prnt.sc/KzjvkLStfkfx

Questions (please complete the following information):

Additional context i didint open doors impound car from PD center (i mean its dont give vehiclekey)

prime-source commented 9 months ago

have you gotten a fix for this? i have a similar issue with line 401 in client lua and 215 in the event handler that repeats in f8 aswell

Qwerty1Verified commented 9 months ago

Your error relates to the heading values for house garages being stored in your database as "h" instead of "w". I have made PRs for this issue. https://github.com/qbcore-framework/qb-houses/pull/243 https://github.com/qbcore-framework/qb-garages/pull/344