meta-hub / meta_target

A complete third eye solution for FiveM and RedM, aiming to proving all solutions from fivem-target, bt-target and qtarget under one resource.
21 stars 15 forks source link

multiple options showing #13

Closed Taavi-AU closed 2 years ago

Taavi-AU commented 2 years ago

unsure why, on latest version I am adding models for dumpster diving and the export is the same as I had it previously and it seems to just add like 5-10 options instead of just the one, have a look at the image below

local models = {
    "prop_cs_dumpster_01a",
    "p_dumpster_t",
    "prop_snow_dumpster_01",
    "prop_dumpster_01a",
    "prop_dumpster_02a",
    "prop_dumpster_02b",
    "prop_dumpster_3a",
    "prop_dumpster_4a",
    "prop_dumpster_4b",
}

exports["meta_target"]:addModels({
    id = "dumpsters",
    title = "Dumpster",
    icon = "fas fa-dumpster",
    models = models,
    radius = 2,
    onInteract = searchDumpsterTest,
    items = {
        {
            name = "search_dumpster",
            label = "Search Dumpster"
        }
    }
})

image

meta-hub commented 2 years ago

Fixed~