Comments (6)
Still duplicates unfortunately
from qb-inventory.
@Borreke0 this should solve the issue completely
AddEventHandler('playerDropped', function()
local src = source
local inventories = { Stashes, Trunks, Gloveboxes, Drops }
for _, inventory in pairs(inventories) do
for _, inv in pairs(inventory) do
if inv.isOpen == src then
inv.isOpen = false
end
end
end
end)
from qb-inventory.
@Borreke0 this should solve the issue completely
AddEventHandler('playerDropped', function() local src = source local inventories = { Stashes, Trunks, Gloveboxes, Drops } for _, inventory in pairs(inventories) do for _, inv in pairs(inventory) do if inv.isOpen == src then inv.isOpen = false end end end end)
Alright thanks! I'm going to try it and double check all the things
from qb-inventory.
from qb-inventory.
is there a fix for this, I am having the same issue.
from qb-inventory.
Have read above.
Where would the "fix" be implemented.
from qb-inventory.
Related Issues (20)
- [BUG] Airplane trunk HOT 1
- [BUG] RANDOM TRUNK OPENING HOT 1
- [BUG] HOT 2
- 6th slot toggle
- [SUGGESTION] export for returning inventory table clientside (in inventory) HOT 2
- [BUG]stash HOT 2
- [SUGGESTION] Export to get amount of slots used in Stash / Inventory HOT 2
- [BUG] HOT 1
- [BUG] Item Duplication HOT 1
- [BUG] Putting weapon in trunk while holding HOT 1
- [SUGGESTION]
- [BUG] attempt to index a nil value (field '?')
- [BUG] Inventory Dupe HOT 1
- [SUGGESTION] Default Amount to 1 HOT 3
- [BUG] Cannot detect some vehicle class trunk maxweight and slots HOT 1
- [BUG] Licenses Meta-Data Not Saving HOT 1
- player name
- [BUG] Not Working with police job in armory and also jim-mechanic stashes also with ambulancejob stash HOT 7
- [BUG] AddItem to trunk
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qb-inventory.