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

Unable to open the vehicle glove box or trunk correctly #1870

Open
DyroS3 opened this issue Jan 9, 2025 · 0 comments
Open

Unable to open the vehicle glove box or trunk correctly #1870

DyroS3 opened this issue Jan 9, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@DyroS3
Copy link
Contributor

DyroS3 commented Jan 9, 2025

Describe the bug
Unable to open the vehicle glove box correctly.

Framework
ESX

Resource version
es_extended: 1.12.3
ox_inventory: 2.43.5
cd_garage: 4.3.4

To Reproduce
Steps to reproduce the behavior:

  1. Pick up the car from the garage for the first time and try to open the glove compartment. Glove box is working fine.
  2. Put the vehicle in the garage and repeat step 1. Glove box not working, and alert inventory_right_access.
  3. Repeat steps 1 and 2 several times, there is a chance to open the glove box.

Videos

Inventory.Test.mp4

Additional context

  1. When the glove box doesn't work, it must print Stash does not exist.
    -- Stash does not exist
    if not left then
        if left == false then return false end

        if invOpen == false then
	   print('Stash does not exist')
            return lib.notify({ id = 'inventory_right_access', type = 'error', description = locale('inventory_right_access') })
        end
        if invOpen then return client.closeInventory() end
    end
  1. The reproduce step also applies to trunks, which can cause them to fail to open properly.
  2. When a vehicle is spawned, wait at least a few minutes for it to spawn without alerting you, and open the glove box and trunk as normal. Here's a demo while waiting
waiting.video.mp4
@DyroS3 DyroS3 added the bug Something isn't working label Jan 9, 2025
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

No branches or pull requests

1 participant