qbcore-framework / qb-inventory

Slot Based Inventory System Used With QB-Core :school_satchel:
GNU General Public License v3.0
51 stars 380 forks source link

How to add trunk items #277

Closed KingRyuShin closed 2 years ago

KingRyuShin commented 2 years ago

How could we use this event to add a item inside the trunk without opening the trunk and place it ourself

RegisterNetEvent('inventory:server:addTrunkItems', function(plate, items) Trunks[plate] = {} Trunks[plate].items = items end)

Dtrixas commented 1 year ago

Can you please provide the sample with which you did it