Page cover

πŸ’»Adding Job Locations

  • The key must be the job name in your jobs.lua file

  • The coords value must be vector3

  • You can specify custom URL images for jobs (a good hosting site is Fivemerr)

  • Define blip settings if enabled providing the id, colour, scale and title

  • Define stash settings if enabled providing the slot count and maximum stash weight


Config.Locations = {
    ['my_custom_job_name'] = { -- the key is the job name
        coords = vector3(-31.05, -1106.59, 26.42), -- target zone coords
        image = 'my_custom_job_image.png', -- job image url
        blip = {
            enabled = true, -- enable blip for management menu
            id = 40, -- blip id
            colour = 5, -- blip colour
            scale = 0.7, -- blip scale
            title = 'Job Management', -- blip title
        },
        stash = {
            enabled = true, -- enable boss stash for this job
            slots = 64, -- stash slots
            weight = 10000000, -- stash weight
        },
    },
    -- add more jobs as required
}

  • These must be a vector 3 value where you want the management menu zone to be


  • The image file must be a hosted .png file (dont use Discord for this instead use Fivemerr)


Blip information can be found here: https://docs.fivem.net/docs/game-references/blips/

  • Set enabled to true to display the blip for the management menu

  • Define the blip id you wish to use for that job

  • Define the colour you wish to use for that job

  • Define the scale you wish to use for that job

  • Define the title you wish to use for that job

blip = {
    enabled = true, -- enable blip for management menu
    id = 40, -- blip id
    colour = 5, -- blip colour
    scale = 0.7, -- blip scale
    title = 'Job Management', -- blip title
},

  • Set enabled to true to use the boss stash system (only bosses can open these)

  • Define the number of slots you wish to use for that job

  • Define the maximum weight you wish to use for that job

stash = {
    enabled = true, -- enable boss stash for this job
    slots = 64, -- stash slots
    weight = 10000000, -- stash weight
},

Last updated