#QB-Inventory

1 messages · Page 1 of 1 (latest)

sullen apex
#

How do I make it so you can see what items you receive and remove from your pockets on the bottom of your screen?

grizzled lark
#
TriggerClientEvent('qb-inventory:client:ItemBox', src, QBCore.Shared.Items["ITEMNAME"], "add", AMOUNT)
sullen apex
#

Where do I place this in?

grizzled lark
#

are u making ur own script?

sullen apex
#

So if I was to drop something it would show on the bottom of my screen that I dropped it or got given it from a job etc

grizzled lark
#

ud need to add that snippet to every script that is set up to give u an item

#

look for the function that gives the player the item and add it there

sullen apex
#

Isn't there a way to have it setup by default within qb-inventory? Like for example ox_inventory gives you that feature by default

grizzled lark
#

dont believe there is im afraid

#

i always thought it showed the image anyways

sullen apex
#

I will look again, it maybe because I don't have the images put in there yet

grizzled lark
#

i just looked in the recycling job funstion whre it gives u items and that has the snippet so id imagine it does do this

#

what script isnt it working for u?

#

how old is your qb-inventory. maybe its outdated

#

cos i know there last update they chagned the event names from "inventory" to "qb-inventory"