🗒ī¸Config

Config = {}


Config.Utility = {
    Core = "qb-core", -- CoreName 
    Target = "qb-target", -- "qb-target" or "ox_target"
    Progress = "ox", -- "qb" or "ox"
    Notify = "qb", -- "qb", "okok" or "ox"
    Menu = "ox_lib", -- "qb-menu" or "ox_lib"
    PropObject = "hei_prop_heist_binbag",
    TrashQuantity = 1, -- Quantity of trash you need to colect to conclude the route
    JobName = "mechanic", -- Job Name if you use NeedJob true

    Trash = { 
        EnableOpen = true, -- Enable open trash bags?
        ChanceNotReceive = 10, -- If the number from 1 to 100 is between 1 and 10, player get nothing.
        ChanceToRare = 90, -- If the number from 1 to 100 is between 90 and 100, player get the rare drop.
        PossibleDrops = {
            NormalDrops = {
                [1] = "metalscrap",
                [2] = "sandwich",
                [3] = "iron",
                [4] = "electronickit",
                [5] = "thermite",
                -- You can add more
            },
            RareDrops = {
                [1] = "lockpick",
                [2] = "advancedlockpick",
                -- You can add more
            }
        }
    },
    
    SpawnVehicle = {x = -319.69, y = -1524.52, z = 27.55, h = 266.41}, -- Location to spawn vehicle
    VehicleKeys = "vehiclekeys:client:SetOwner", -- Trigger to give keys of vehicle
    Vehicle = "trash", -- Vehile spawn
    VehicleSettings = {
        Location = vector3(-328.87, -1527.86, 27.54),
        lenght = 12.6,
        width = 10.0,
        minZ = 25.54,
        maxZ = 29.54,
        heading = 269,
        Payment = 500,
    },

    Ped = {
        {type = 4, hash = GetHashKey("s_m_y_garbage"), x = -336.80, y = -1530.44, z = 26.72, h = 292.97}
    },
    
    CoordsStart = vector3(-336.80, -1530.44, 26.72),
    
    Reward = { -- Cash reward for each trash
        Min = 20, 
        Max = 40,
    },
    
    LevelSystem = {
        Enable = true, -- Enable level system?
        XP_Per_Trip = 10, -- Xp obtain each trash
        
        Level_1 = {
            XP = 0,   -- XP Needed to level 1 -- Dont touch
            Reward = 1, -- 1 = x1 the money you will receive.
        },
        
        Level_2 = {
            XP = 425, -- XP Needed to level 2
            Reward = 2, -- 2 = x2 the money you will receive.
        },
        
        Level_3 = {
            XP = 550, -- XP Needed to level 3
            Reward = 3, -- 3 = x3 the money you will receive.
        },
        
        Level_4 = {
            XP = 750, -- XP Needed to level 4
            Reward = 4, -- 4 = x4 the money you will receive.
        },
        
        Level_5 = {
            XP = 1000, -- XP Needed to level 5
            Reward = 5, -- 5 = x5 the money you will receive.
        },
    },
    
    Blip = {
        Location = vector3(-336.80, -1530.44, 26.72),
        Sprite = 467,
        Display = 4,
        Colour = 4,
        Scale = 0.7,
        Name = "Garbage",
    },
    
    BlipDelivery = {
        Sprite = 11,
        Colour = 2,
        RouteColour = 29,
    },
    
    Logs = {
        Enable = true,
        Trigger = "qb-log:server:CreateLog",
        LogTitle = "Garbage",
        LogColour = "lightgreen",
    }
}


Language = {
    Got = "You got: $",
    Vasculhar = "Picking it up in the trash...",
    Talk = "Talk",
    Search = "Search",
    GarbageDepot = "[🕋] Garbage Depot",
    StartWork = "[💨] Start Work",
    ReturnVehicle = "[🚗] Return Vehicle",
    SellTrash = "[đŸ’ĩ] Sell Trash",
    CheckLevel = "[📊] Check Experience",
    Close = "[❌] Close",
    ReturnDepot = "Return to base and start another job!",
    BlipWork = "Trash",
    Searching = "Searching the trash bag...",
    Smell = "What a smell! I got all my hands dirty!",
    Anything = "You don't have trash with you.",
    AlreadyWorking = "You already have work.",
    YourExperience = "Your Experience: ",
    InsideVehicle = "You need to be inside the vehicle.",
    Dead = "You cannot access while dead.",
    Water = "You cannot access in the water.",
    NextTrash = "Go catch the next trash.",
    WrongVehicle = "You cannot return this vehicle.",
    WrongJob = "You dont have the job required.",
    Error = "Something wrong.",
    DeleteVehicle = "Delete Vehicle",
    NeedStartWork = "You need start a job first",
    NoMoney = "You dont have money on your to rent the truck",
}

Config.Trash = { 
    vector3(-242.77, -1473.18, 31.48),
    vector3(-161.53, -1669.83, 33.17),
    vector3(-208.85, -1361.46, 31.26),
    vector3(23.43, -1313.14, 29.52),
    vector3(91.0, -1284.49, 29.3),
    vector3(373.84, -1449.1, 29.43),
    vector3(490.48, -998.56, 27.78),
    vector3(497.29, -587.54, 24.76),
    vector3(319.76, -182.96, 57.45),
    vector3(-175.89, -1284.3, 31.3),
    vector3(-563.73, -974.34, 22.18),
    vector3(105.7, -1811.95, 26.52),
    vector3(242.31, -1771.48, 28.77),
    vector3(230.43, -1507.73, 29.29)
}

Last updated