EUP Menu Configuration

Customize the appearance and behavior of your EUP menu here.

Name X Y Z Actions
Sandy PD 1849.1 3689.49 33.26
Mission Row PD 454.4 -989.1 29.68
San Andreas Highway Patrol
Los Santos PD
config = {
    defaultMenuPosition = "right", -- right or left
    width = 80,
    key = 38, -- e key
    menuName = "EUP Menu",
    menuSubtitle = "You can find all of our departments below",
    command = {
        enabled = true,
        command = "eup"
    },
    markerDesign = 1, -- https://docs.fivem.net/docs/game-references/markers/
    debug = {
        enabled = true,
        command = "eupdebug"
    },
    mapLocations = {
        enabled = true,
        locations = {
            {x = 1849.10, y = 3689.49, z = 33.26, name = "Sandy PD"}, -- Sandy PD
            {x = 454.4, y = -989.1, z = 29.68, name = "Mission Row PD"} -- Mission Row PD
        }
    },
}

config.menuDepartments = {
    ["San Andreas Highway Patrol"] = {
        permissions = {
            enabled = false, -- select to false so everyone can use it.
            roleId = "800444938793123871" -- if enabled, only users with this role will see this department
        },
        subMenus = {
            ["High Patrol Classes"] = {
                {
                    button = "Patrol Class A Uniform",
                    props = {
                        {0, -1, -1}, -- Hats
                        {1, -1, -1}, -- Glasses
                        {2, -1, -1}, -- Ears
                        {3, -1, -1}, -- Watch
                        {4, -1, -1},
                        {5, -1, -1},
                        {6, -1, -1}, -- Watch
                        {7, -1, -1}, -- Bracelet
                    },
                    components = {
                        {0, 0, 0},
                        {1, 0, 0}, -- Mask
                        {2, 11, 0},
                        {3, 180, 0}, -- Upper body
                        {4, 198, 0}, -- Legs / Pants
                        {5, 0, 0}, -- Bags / Parachutes
                        {6, 24, 0}, -- Shoes
                        {7, 210, 0}, -- Neck / Scarfs
                        {8, 213, 0}, -- Shirt / Accessory
                        {9, 50, 0}, -- Body Armor
                        {10, 0, 0}, -- Badges / Logos
                        {11, 559, 0}, -- Jackets
                    }
                },
                {
                    button = "Patrol Class B Uniform",
                    props = {
                        {0, 13, 1}, -- Hats
                        {1, 5, 0}, -- Glasses
                        {6, 0, 0}, -- Watch
                    },
                    components = {
                        {1, 1, 1}, -- Mask
                        {3, 12, 1}, -- Upper body
                        {4, 15, 1}, -- Legs / Pants
                        {5, 56, 1}, -- Bags / Parachutes
                        {6, 26, 1}, -- Shoes
                        {7, 9, 1}, -- Neck / Scarfs
                        {8, 106, 1}, -- Shirt / Accessory
                        {9, 20, 1}, -- Body Armor
                        {10, 1, 1}, -- Badges / Logos
                        {11, 191, 1}, -- Jackets
                    }
                },
            }
        }
    },
    ["Los Santos PD"] = {
        permissions = {
            enabled = false, -- select to false so everyone can use it.
            roleId = "1" -- if enabled, only users with this role will see this department
        },
        subMenus = {
            ["Los Santos Classes"] = {
                {
                    button = "Patrol Class A Uniform",
                    props = {
                        {0, 32, 1}, -- Hats
                        {1, 0, 0}, -- Glasses
                        {6, 0, 0}, -- Watch
                    },
                    components = {
                        {1, 1, 1}, -- Mask
                        {3, 12, 1}, -- Upper body
                        {4, 15, 1}, -- Legs / Pants
                        {5, 56, 1}, -- Bags / Parachutes
                        {6, 26, 1}, -- Shoes
                        {7, 9, 1}, -- Neck / Scarfs
                        {8, 106, 1}, -- Shirt / Accessory
                        {9, 20, 1}, -- Body Armor
                        {10, 1, 1}, -- Badges / Logos
                        {11, 191, 1}, -- Jackets
                    }
                },
                {
                    button = "Patrol Class B Uniform",
                    props = {
                        {0, 13, 1}, -- Hats
                        {1, 5, 0}, -- Glasses
                        {6, 0, 0}, -- Watch
                    },
                    components = {
                        {1, 1, 1}, -- Mask
                        {3, 12, 1}, -- Upper body
                        {4, 15, 1}, -- Legs / Pants
                        {5, 56, 1}, -- Bags / Parachutes
                        {6, 26, 1}, -- Shoes
                        {7, 9, 1}, -- Neck / Scarfs
                        {8, 106, 1}, -- Shirt / Accessory
                        {9, 20, 1}, -- Body Armor
                        {10, 1, 1}, -- Badges / Logos
                        {11, 191, 1}, -- Jackets
                    }
                },
            }
        }
    }
}