Full View config.lua

Config = {}
Config.Locale = 'en'
Config.Core = 'ESX' -- ESX or QBCore
Config.Blur = true -- if you want to blur the background
Config.JobCenterCoords = vec(-529.32, -218.92, 36.64) -- marker coords

Config.Blip = {
    Coords = vec(-556.48, -186.16, 38.28),
    Sprite = 498,
    Display = 4,
    Scale = 1.1,
    Colour = 42,
    Name = 'Job Center'
}

Config.Marker = {
    Turned = true, -- if you want use marker set true else if you want to use e.g. npc talk or anything, set false
    Type = 1,
    Key = 38,
    Size = vec(1.2, 1.2, 1.0),
    DrawDistance = 12.0,
    Color = {29, 210, 49, 110},
}

Config.TextUI = {
    Turned = false, -- if you want use TextUI set true and Config.Marker.Turned set true else if you want top-left help notification set false
    Open = function()
        exports['TextUI']:Open('[E] To use', 'purple', 'left') 
    end,
    Close = function()
        exports['TextUI']:Close()
    end
}

Config.JobsInformations = {
    ["builder"] = {
        Icon = "fa-solid fa-hammer", -- https://fontawesome.com/search?m=free | 6.1.2
        Label = "Builder",
        Description = 'Work at heights, in this work you are responsible for finishing buildings.'
    },
    ["bus"] = {
        Icon = "fa-solid fa-bus",
        Label = "Bus Driver",
        Description = 'You become a bus driver, remember that you are responsible for the lives of other passengers, drive carefully.'
    },
}

Config.Notify = function(message)
    exports["vms_notify"]:Notification("JOB CENTER", message, 4000, "#03fc35", "fa-solid fa-check")
    --ESX.ShowNotification(message)
end

Config.Texts = {
    ['new_job'] = 'You have a new job!',
    ['access_job_center'] = 'Press ~INPUT_CONTEXT~ to view the available ~g~jobs~s~.',
}

Last updated