Config

config = {}

-- General Settings
config.debug = true -- Enable or disable debug mode
config.randomNpcs = true -- Enable or disable random NPCs (requires ox_target)
config.enableRandomBehaviors = true -- Enable or disable random behaviors
config.allowAllJobs = false -- Set to true to allow all jobs to sell drugs
config.minimmumPolice = 1
config.policeJob = {'police', 'sheriff'}

-- Random Behaviors (run, steal, callPolice & attack), you can add 2 "steal" for higher chance.
config.randomBehaviors = {
    { behavior = "run", message = "The client is running away!" },
    { behavior = "steal", message = "The client is stealing your items!" },
    { behavior = "callPolice", message = "The client is calling the police!" },
    { behavior = "attack", message = "The client is attacking you!" }
}

-- Zones
config.zones = {
    {name = "zone1", coords = vector3(-32.2002, -1151.1000, 26.6857), radius = 450.0},
    {name = "zone2", coords = vector3(-182.3990, -1585.7834, 34.9320), radius = 450.0},
    {name = "zone3", coords = vector3(110.7047, -1938.3203, 20.8037), radius = 450.0}
}

-- Drugs
config.drugs = {
    {label = "Cocaine", name = "coke", price = 1200, requiredLevel = 0, image = "images/coke.png"},
    {label = "Weed", name = "weed", price = 8, requiredLevel = 0, image = "images/weed.png"},
    {label = "Meth", name = "meth", price = 75, requiredLevel = 0, image = "images/meth.png"},
    {label = "Cocaine Brick", name = "cokebrick", price = 1200, requiredLevel = 5000, image = "images/cokebrick.png"},
    {label = "Weed Brick", name = "weedbrick", price = 8, requiredLevel = 5000, image = "images/weedbrick.png"},
    {label = "Meth Brick", name = "methbrick", price = 8, requiredLevel = 5000, image = "images/methbrick.png"} 
    -- Add more drugs as needed
}

-- Drug Props
config.drugProps = {
    coke = `xm3_prop_xm3_bag_coke_01a`,
    weed = `sf_prop_sf_bag_weed_01b`,
    meth = `ba_meth_smallbag`,
    cokebrick = `xm3_prop_xm3_bag_coke_01a`,
    weedbrick = `sf_prop_sf_bag_weed_01b`,
    methbrick = `ba_meth_smallbag`,
    -- Add more drug-to-prop mappings as needed
}

-- Leaderboard Ped Configurations
config.leaderboardPedConfig = {
    model = 'a_m_y_business_01', -- Change to your desired ped model
    coords = vector4(-262.3633, -975.3411, 31.2196, 250.3276), -- Change to your desired coordinates
    text = ' [E]  Player Leaderboard' -- Change to your desired text
}

config.leaderboardPedConfig2 = {
    model = 'a_m_y_business_02', -- Change to your desired ped model
    coords = vector4(-258.4823, -973.2742, 31.2200, 158.5456), -- Change to your desired coordinates
    text = '[E] Gangs Leaderboard' -- Change to your desired text
}

-- Ped Configurations
config.ped = {
    {
        model = 'g_m_y_famca_01', -- Change to your desired ped model
        coords = vector4(-32.9640, -1151.9395, 26.6567, 315.5577), -- Change to your desired coordinates
        text = '[E] Sell Drugs', -- Change to your desired text
        animation = {
            dict = 'anim@heists@heist_corona@single_team',
            name = 'single_team_loop_boss'
        }
    }
    -- Add more ped configurations as needed
}

-- Allowed Jobs
config.allowedJobs = {
    'ballas',
    'vagos'
    -- Add more jobs as needed
}

-- Peds Blacklist
config.pedsBlacklist = {
    'a_f_m_bevhills_02',
    'a_f_m_eastsa_01'
    -- Add more peds to the blacklist as needed
}

-- ( The script auto-detects your framework and your inventory, for more help, see the documentation )

return config

Last updated

Was this helpful?