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] Can't retrieve vehicle in Depot when using /depot without price #328

Closed
C4RM3L0-TH1NG5 opened this issue Dec 19, 2023 · 1 comment · Fixed by #323
Closed

[BUG] Can't retrieve vehicle in Depot when using /depot without price #328

C4RM3L0-TH1NG5 opened this issue Dec 19, 2023 · 1 comment · Fixed by #323
Labels
bug Something isn't working

Comments

@C4RM3L0-TH1NG5
Copy link

I faced two problem today with Qb-Garages.
When testing the script, I tried to /depot the vehicle but got an error that says " SCRIPT ERROR: @qb-garages/server/main.lua:192: attempt to index a number value (local 'result') "
I looked here and found a useful link to that one from @Chill527 , I used it and it was as following :
in server/main.lua
replace > local depotPrice = result[1].depotprice
for > local depotPrice = result

After doing this, I faced the problem called in this title. After trying several times to /depot vehicles without mentioning any amount it disapears and when searching in DB the gragae row was NULL.

@C4RM3L0-TH1NG5 C4RM3L0-TH1NG5 added the bug Something isn't working label Dec 19, 2023
@citRaTTV
Copy link

Dupe of #321

@GhzGarage GhzGarage linked a pull request Dec 31, 2023 that will close this issue
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.

2 participants