Closed icozyhoodie closed 3 years ago
Post image of your owned_vehicles browse please.
Post image of your owned_vehicles browse please.
Here's what I see in my console if it means anything:
The category shouldn't be null. That's the problem. If ur using custom categories u must edit it in esx_advancedgarage
So I fixed it to where the category is no longer null, although I still get "You don't own any vehicles for this Garage!" when trying to take out vehicle from public garage.
The wierd thing is I'm able to get the garage menu to open and take out my vehicle after a couple tries and clicking e multiple times to get the menu to open. But I want to be able to just open the garage menu right away after going onto the green circle and clicking "E". Seems I have to click "E" multiple times, really fast and hope for the garage menu to finally open.
The garage has Wait timers on them so it can check all owned_vehicles. So you should just have to press E once and wait like 1sec and it should open. But opening & closing the menu multiple times in a short period of time will cause it to load longer since your spam checking the Database for the same thing & it can't keep up.
The garage has Wait timers on them so it can check all owned_vehicles. So you should just have to press E once and wait like 1sec and it should open. But opening & closing the menu multiple times in a short period of time will cause it to load longer since your spam checking the Database for the same thing & it can't keep up.
You must have a really fast database. The issue occurred even without spamming E.
I was able to fix it by change all Citizen.Wait(250) to Citizen.Wait(850) or Citizen.Wait(1000) for the commands that take the vehicle out of the garage. For anyone else having this problem the code is located via esx_advancedgarage/client/main.lua
The category shouldn't be null. That's the problem. If ur using custom categories u must edit it in esx_advancedgarage
What file in esx_advancedgarage do I add new categories, I added a new 'electric' category to my database, but I receieve an error in f8.
You will have to edit both client & server main.lua files.
I don't use custom categories and having same issue.
Describe the Bug | A Clear & Concise Description of Bug
What I did: Deleted the original 'owned_vehicles' table from esx_vehicleshop then I imported the esx_advancedvehicleshop.sql code manually, since importing the sql file wouldn't work for me. No errors in my console or 'F8'
My Issue: I am able to store my vehicles into my public garage but when trying to take my vehicles out of the same garage it gives me this message "You don't own any Vehicles for this Garage!"
Screenshots:
Table Structure('owned_vehicles):
In-Game Message:
Have you made changes to anything in
client/main.lua
orserver/main.lua
?: No (only to config.lue to show blips and allow use of garage. Have you looked through the Closed Topics?: The ones that related to my specific issue. Have you looked through the Wiki?: I can't find the wiki on the website. Are you using a Pre-Installed ESX? If Yes who?: No Are you using es_extended? If Yes what Version? (Example: 1.2): v1-Final (1.2.0-final) Are you using Essentialmode?: No (disabled) Are you using ExtendedMode?: No Are you using OneSync?: No Linux or Windows?: Windows