Config

Main

return {
    debug = false, -- just debug mode for extra printing and zones
    sqlUpdate = true, -- set this to false if you haven't or don't plan on doing any changes to the config. This auto updates the sql with the skill changes, or reputation changes (adding/ removing)
    theme = 'orange', -- The options are 'blue', 'yellow', 'white', 'teal', 'pink'

    cornering = {
        cooldown = {
            enabled = false, -- Enable or disable cooldown per handoff
            time = 1, -- Time the cooldown should be in minutes
        },
        police = {
            minimum = 0, -- Minimum police required online to corner
            allow = false, -- Allow cops to corner also
            alert = {
                chance = 100, -- Chance that an alert goes off to police per handoff
            },
        },
        animations = { -- Animations for cornering
            handoff = { dict = 'mp_common', anim = 'givetake1_a' },
            pickup = { dict = 'weapons@holster_fat_2h', anim = 'holster' }
        },
        rob = { -- Allow the target to rob the player
            enabled = true, -- off/ on
            chance = 20, -- chance in percentage that the target robs the player
        },
        dialogue = { -- Dialog allows cops to speak with those who a player had sold to to recover a possible first name of the seller
            enabled = true, -- Enable/ disable
            chance = 25, -- Chance in percentage that a first name is revealed to the cop
            deny = { -- Deny dialog
                'Man, I don’t know what you’re talking about—must’ve been someone else, not me.',
                'You got the wrong guy, officer—I’m just out here minding my own business.',
                'I don’t know anything about that, and even if I did, I’m not saying a word',
                'Sales? I’m no businessman, officer—just trying to stay out of trouble.',
                'Unless you’ve got proof, I’m not about to incriminate myself for something I didn’t do.',
            },
            accept = { -- Accept dialog '%s' is where the players first name will go
                'Alright, fine, his name’s %s—but that’s all I’m saying.',
                'Yeah, I sold to %s, but I don’t know anything else about him.',
                'Look, it was %s, but you didn’t hear that from me.',
                'I’m not trying to cause problems, but the guy’s name was %s.',
                'Okay, okay, the buyer’s name was %s—now can we move on?',
            },
        },
        zones = {
            enabled = false, -- If enabled, this prevents players from selling absolutely anywhere they want
            game = { -- Game zones viewed from (https://docs.fivem.net/natives/?_0xCD90657D4C30E1CA)
                -- All of these zones allow all drugs to be sold at each one
                AIRP = false,
                ALTA = true,
                CHIL = false,
                CHU = false,
                CYPRE = false,
                DAVIS = false,
                DELSOL = false,
                GRAPES = false,
                HARMO = false,
                HAWICK = false,
                MIRR = false,
                PALETO = false,
                RICHM = false,
                ROCKF = false,
                SANDY = false,
                SLAB = false,
                STRAW = true,
                VCANA = false,
                VESP = false,
                VINE = false,
                WINDF = false,
                LOSPUER = true,
            },
            poly = { -- Poly of zones you would like to manually add
                {
                    label = 'Grove Street',
                    points = {
                        vec(130.03, -2026.09, 18.00),
                        vec(-152.0, -1785.92, 18.00),
                        vec(46.86, -1688.19, 18.00),
                        vec(248.25, -1863.51, 18.00),
                    },
                    items = { -- Items that can only be sold in this zone. If you leave it empty, players can sell any type of drug
                        'weed',
                    }
                },
            },
        },
    },

    delivery = {
        animations = { -- Animations for the delivery
            handoff = { dict = 'mp_common', anim = 'givetake1_a' },
            pickup = { dict = 'weapons@holster_fat_2h', anim = 'holster' }
        },
        blip = { -- Blip info for the delivery
            sprite = 351, color = 5, scale = 0.7,
            routeColor = 5,
        },
        police = {
            minimum = 5, -- Minimum police required online to deliveries
            allow = false, -- Allow cops to do deliveries
            alert = {
                chance = 0, -- Chance that an alert goes off to police per delivery
            },
        },
        cooldown = {
            enabled = true, -- Cooldown for each contact after canceling or completing (in minutes)
            time = 30, -- Time the cooldown should be in minutes
        },
    },

    commands = {
        enabled = true, -- If admin commands for adding/removing rep is enabled or not
    },

    peds = { -- List of peds for deliveries
        "ig_abigail",
        -- many more listed in the actual resour
    },
}

Contacts


Items


Market


Reputation


Skills


Last updated