JiminyKroket / Invhud

ESX_InventoryHUD rework
11 stars 12 forks source link

Inventory is already open bug. #64

Closed Fortuity-Concepts closed 2 years ago

Fortuity-Concepts commented 3 years ago

Every now and then when accessing a stash and or trunk the next person to do so will get an (Inventory is already open) notification. I've placed stashes for PD and gangs, and it happens when the stash and or vehicle has allot of traffic in and out of it. sometimes it can be just two people grinding placing items and taking them out this will occur. (i dnt mean like as in one is actually in the inventory.) They could be all the way across the map the inventory is closed but the next person to open it gets the notification and is unable to access it.

I've tried to understand the problem more but I've had no luck. I'm very new to lua and fivem development but i usually try and solve problems myself because i wish to learn more. But sometimes i have to admit defeat and post an issue or open a ticket xD

BryBTG commented 3 years ago

unquote lines on 211

ChrisHDev commented 2 years ago

@BryBTG what line 211? I have been encountering this issue for awhile now and still cant figure it out

JiminyKroket commented 2 years ago

Bry is referring to the server file which handles the inventory open checks, specifically line 211(and all other corresponding lines) where the if statement checks for the inventory being open. Remove any check for if the inventory is opened, and it won't matter if the inventory is already opened.

ChrisHDev commented 2 years ago

Ok. Thank you.

On Monday, February 7, 2022, JiminyKroket @.***> wrote:

Bry is referring to the server file which handles the inventory open checks, specifically line 211(and all other corresponding lines) where the if statement checks for the inventory being open. Remove any check for if the inventory is opened, and it won't matter if the inventory is already opened.

— Reply to this email directly, view it on GitHub https://github.com/JiminyKroket/Invhud/issues/64#issuecomment-1031130941, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT6KIVPD3FNW5OU4H5QMAO3UZ5T5NANCNFSM44BZ3JNQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>