Error

Config.GlobalPlayerOptions = {
    options = {
    {
    type = "client",
    event = "police:client:SearchPlayer",
    icon ='fa-solid fa-hand',
    label = 'Prohledat Osobu',
    job = 'police',

    },
    {
    type = "client",
    event = "police:client:RobPlayer",
    icon = 'fa-solid fa-hand',
    label = 'Okrást Osobu',
    
    },
    {
    type = "client",
    event = "s4-cuff:client:putInVehicle",
    icon ='fa-solid fa-car',
    label = 'Dát osobu do vozidla',
    job = 'police',

    },
    {
    type = "client",
    event = "s4-cuff:client:OutVehicle",
    icon = 'fa-solid fa-car',
    label = 'Vyndat osobu z vozidla',

    },
    {
    type = "client",
    event = "s4-cuff:client:ProcessCuffs",
    icon ='fa-solid fa-hands-bound',
    label = 'Spoutat Osobu',
    item = 'cuff',
    
    },
    {
    type = "client",
    event = "s4-cuff:client:RemoveCuffs",
    icon ='fa-solid fa-key',
    label = 'Odpoutat Osobu',
    item = 'cuff_keys',
    },
    distance = 2.0
    },
    }

SCRIPT ERROR: @qb-target/client.lua:492: attempt to index a number value (local ‘v’)

its does something with this

if v.required_item then

But i dont know why there is a problem :confused:

Distance = 2.0 is not a table

so i should just remove distance = 2.0 and it will work?

Did it work when you deleted it

Yeah it worked