βοΈCommon Questions
How To Remove Default Target from the Trash vehicle
Let's take the qb-target as example : Go into qb-target/data/bones line 122, change the boot bone options to this :
    Bones.Options['boot'] = {
        ['Toggle Trunk'] = {
            icon = 'fas fa-truck-ramp-box',
            label = 'Toggle Trunk',
            action = function(entity)
                ToggleDoor(entity, BackEngineVehicles[GetEntityModel(entity)] and 4 or 5)
            end,
            canInteract = function(entity)
                local retval = true
                if GetEntityModel(entity) == `trash` then
                    retval = false
                end
                return retval
            end,
            distance = 0.9
        }
    }
I do not use radial menu anymore !
Yes you can use whatever you want, we used radial menu but you can trigger these events from any other scirpt you want to or use a command if so..
-- the vehicle list menu
zat-garbagejob:client:VehicleList
-- the groups menu
zat-garbagejob:client:OpenMenu
-- the new location
zat-garbagejob:client:GenerateNewLocationLast updated