renzuzu / renzu_evidence

Fivem - Police Evidence. Fingerprint, Bullet Case, Magazines, Vehicle Fragments/Bullets and more ESX.
GNU General Public License v3.0
44 stars 12 forks source link

Evidence not showing correct data if using qb-inventory #5

Closed parham-ebrahim closed 1 year ago

parham-ebrahim commented 1 year ago

So i just got a fresh install in QB...and im having the same issue with metadata.time.

re open if issue still existing... also tell which framework are you using.. since the inv looks like qbcore

_Originally posted by @renzuzu in https://github.com/renzuzu/renzu_evidence/issues/2#issuecomment-1483999607_

renzuzu commented 1 year ago

this resource is tested only from my qb-inventory https://github.com/renzuzu/qb-inventory/ having label, image, and other item info data (metadata) Supported item with different metadata is non stackable, (this is your main problem here) since the item registered does not have a unique.

its a pity that the current qb-inventory from main repo is very low features and bad design (lua and custom info from UI).

i highly suggest using ox_inventory instead, since you are (FRESH install)

to try fixing your current issue with the repo version of qb-inv

use this on items


evidence = {
        name = "evidence",
        weight = 50,
        image = "evidence.png",
        shouldClose = true,
        label = "Evidence",
        useable = true,
        unique = true,
        type = "item",
    },
parham-ebrahim commented 1 year ago

thank you ... appreciate the info ...