You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: