Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Maxhero54 opened this issue Jan 19, 2024 · 2 comments · Fixed by qbcore-framework/qb-houses#243
Labels
bug Something isn't working

Comments

@Maxhero54
Copy link

Maxhero54 commented Jan 19, 2024

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):

  • When you last updated: today qb-core and others uptodated
  • Are you using custom resource? which ones? qb-target
  • Have you renamed qb- to something custom? no

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

@Maxhero54 Maxhero54 added the bug Something isn't working label Jan 19, 2024
@Maxhero54 Maxhero54 changed the title [BUG] [BUG] qb-garages/client/main.lua:403: bad argument #4 to 'vector4' (invalid vector type) Jan 19, 2024
@prime-source
Copy link

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
Copy link
Contributor

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.
qbcore-framework/qb-houses#243
#344

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants