> For the complete documentation index, see [llms.txt](https://prime-scripts-1.gitbook.io/pr-scripts-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prime-scripts-1.gitbook.io/pr-scripts-docs/docs/quickstart-2/configuration.md).

# ⚙️Configuration

```etlua
-- General Config
Config = {}

Config.Chance = 100 -- [CHANCE TO SPAWN NPCS WHILE ON DRUGS, SUGGESTED 100] [INT]
Config.Framework = 'ESX'  -- [FRAMEWORK; 'ESX', 'QB', 'Custom']
Config.HideHud = 'cinema' -- [CINEMA MODE COMMAND]
Config.Notify = 'OX' -- [NOTIFY SYSTEM; 'OX','ESX','QB'] // YOU CAN ADD YOUR OWN ON CUSTOM/CL_CUSTOM
Config.Target = "qtarget" -- [TARGET SYSTEM; qb-target, qtarget] // You can use qtarget if u have ox_target
Config.Logs = { -- [WEBHOOKS ON CUSTOM/SV_WEBHOOKS.LUA]
    enabled = true 
} 
Config.ExtraEffects = true -- [BOOLEAN TRUE/FALSE]
Config.Dispatch = { 
    Enabled = true, 
    Dispatch = "YOUR_DISPATCH_SYSTEM"  -- [DISPATCH SYSTEM; cd_dispatch, ps-dispatch, origen_police] // YOU CAN ADD YOUR OWN ON CUSTOM/CL_CUSTOM
}
Config.Bob74_ipl = false

-- Drug Harvest and Process Zones --

-- Magic Shrooms
Config.MagicMushrooms = {
    coords = vec3(-1655.2595, 5021.2012, 37.1783),
    radius = 20.0, 
    debug = false,
    InGameProp = `prop_stoneshroom1`, -- DO NOT CHANGE THIS UNLESS YOU KNOW WHAT YOU ARE DOING
    NecessaryItems = {
        { item = "trowel", count = 1 },
    },
    AddItems = {
        { item = "magicmushroom", count = 1 },
    },
    ArmourAmount = 25 -- [ARMOUR AMOUNT ADDED IF Config.ExtraEffects = true] [INT]
}

-- Gummies
Config.Gummies = {
    -- Harvest
    Zone = {
        coords = vec3(-2649.1218, 2512.7598, 3.4585),
        radius = 20.0,
        Duration = 10000,
        debugPoly = false,
        RequiredItems = {
            { item = "trowel", count = 1},
        },
        AddItems = {
            { item = "sugarcane", count = 1 },
        },
        InGameProp = `prop_plant_01a` -- DO NOT CHANGE THIS UNLESS YOU KNOW WHAT YOU ARE DOING
    },
    -- Process
    Process = {
        description = "Ingredients: 3x Planta de amapola, 1x Amoniaco, 1x Bolsa de plástico",
        coords = vector3(1391.41, 3605.55, 39.07),
        radius = 0.4,
        Teleport = vector3(1391.87, 3605.64, 37.94),
        Duration = 30000,
        RequiredItems = {
            { item = "lysergic_acid", count = 5, remove = true },
            { item = "sugarcane", count = 3, remove = true },
            { item = "bicarbonate", count = 1, remove = true },
        },
        AddItems = {
            { item = "gummies", count = 5 },
        }
    },
    ArmourAmount = 25 -- [ARMOUR AMOUNT ADDED IF Config.ExtraEffects = true] [INT]
}

-- Fentanyl
Config.Chemicals = {
    -- Harvest
    Zone = {
        coords = vec3(810.3956, -3203.0166, 5.9008),
        radius = 15.0,
        Duration = 10000,
        debugPoly = false,
        RequiredItems = {
            { item = "gloves", count = 1},
        },
        AddItems = {
            { item = "chemicals", count = 1 },
        },
        InGameProp = `prop_barrel_exp_01a` -- DO NOT CHANGE THIS UNLESS YOU KNOW WHAT YOU ARE DOING
    },
    -- Process
    Process = {
        description = "Ingredients: 3x Chemicals, 1x Amoniaco, 1x Bolsa de plástico",
        coords = vector3(1005.7548, -3200.8623, -38.5488),
        radius = 0.4,
        Teleport = vector3(1005.7548, -3200.8623, -38.5488),
        Duration = 30000,
        RequiredItems = {
            { item = "lysergic_acid", count = 5, remove = true },
            { item = "chemicals", count = 3, remove = true },
            { item = "bicarbonate", count = 1, remove = true },
        },
        AddItems = {
            { item = "fentanyl", count = 3 },
        },
        ArmourAmount = 100 -- [ARMOUR AMOUNT ADDED IF Config.ExtraEffects = true] [INT]
    },
    -- METH LABORATORY
    Lab = {
        coords = vector3(1013.22, -3194.95, -37.88),
        radius = 18.85,
        DebugPoly = false,
        name = "FentanylLab",
    },
    --ENTER LAB
    Enterlab = {
        coords = vector3(762.93, -1092.78, 22.58),
        radius = 1.6,
        teleport = vector3(996.99, -3200.7, -37.39),
        NeedItem = true,
        ItemName = "meth_access"
    },
    --LEAVE LAB
    LeaveLab = {
        coords = vector3(996.49, -3200.62, -36.32),
        radius = 1.0,
        teleport = vector3(763.09, -1092.92, 21.22),
    },
}

-- Drug Selling
Config.PhoneBooths = { -- [PROP HASHES] // https://gtahash.ru/?s=phone&page=1
    1281992692,
    1511539537,
    1158960338,
    -2103798695,
    295857659,
    -78626473,
    -1559354806,
    -429560270
}

Config.DrugSelling = {
    magicmushroom = { -- Item name
        Label = "Magic Mushroom", -- Item label
        MinPrice = 25, -- Min price
        MaxPrice = 55, -- Max price
        MinCount = 1, -- Min Count
        MaxCount = 5, -- Max Count
        Chance = 100, -- 0 - 100% succes of negotiate for better price
        AttackChance = 5, -- 0 - 100% Chance of NPC atacking player
        animation = {
            model = `bkr_prop_weed_bag_01a`,
            pos = vec3(0.16, 0.04, -0.05),
            rot = vec3(0.0, 26.0, 100.0),
            bone = 57005
        }
    },
    gummies = { -- Item name
        Label = "Gummies", -- Item label
        MinPrice = 25, -- Min price
        MaxPrice = 55, -- Max price
        MinCount = 1, -- Min Count
        MaxCount = 5, -- Max Count
        Chance = 80, -- 0 - 100% succes of negotiate for better price
        AttackChance = 5, -- 0 - 100% Chance of NPC atacking player
        animation = {
            model = `prop_meth_bag_01`,
            pos = vec3(0.16, 0.04, -0.05),
            rot = vec3(0.0, 26.0, 100.0),
            bone = 57005
        },
    },
    tussi = { -- Item name
        Label = "2C-B", -- Item label
        MinPrice = 25, -- Min price
        MaxPrice = 55, -- Max price
        MinCount = 1, -- Min Count
        MaxCount = 5, -- Max Count
        Chance = 80, -- 0 - 100% succes of negotiate for better price
        AttackChance = 5, -- 0 - 100% Chance of NPC atacking player
        animation = {
            model = `prop_meth_bag_01`,
            pos = vec3(0.16, 0.04, -0.05),
            rot = vec3(0.0, 26.0, 100.0),
            bone = 57005
        },
    },
    fentanyl = { -- Item name
        Label = "Fentanyl", -- Item label
        MinPrice = 100, -- Min price
        MaxPrice = 330, -- Max price
        MinCount = 30, -- Min Count
        MaxCount = 50, -- Max Count
        Chance = 80, -- 0 - 100% succes of negotiate for better price
        AttackChance = 5, -- 0 - 100% Chance of NPC atacking player
        animation = {
            model = `bkr_prop_weed_bag_01a`,
            pos = vec3(0.16, 0.04, -0.05),
            rot = vec3(0.0, 26.0, 100.0),
            bone = 57005
        },
    }
}

-- Custom Peds

Config.CustomPed = 'Mario_MTUS'
Config.CustomPed2 = 's_m_y_clown_01'
Config.CustomPed3 = 'Luigi_MTUS'

-- Custom Weapon Assignment

Config.Weapon = 'WEAPON_SMG'
Config.Weapon2 = 'WEAPON_SMG_MK2'
Config.Weapon3 = 'WEAPON_ASSAULTRIFLE'
Config.SpecialWeapon = 'WEAPON_CARBINERIFLE'

-- Sphere Settings

Config.MaxSphereRadius = 50.0 -- 50 by Default, Recommended 50, maximum 200
Config.ExpansionSpeed = 10.0 -- 10 by Default

-- Music Settings | 'FILE' - FILE MUST BE PLACED IN INTERACT-SOUND AS A .OGG FILE | All files must last maximum 26 seconds

Config.SoundClones = 'rave'
Config.SoundFentanyl = 'spirit'
Config.SoundCustomPeds = 'energising'
Config.SoundAnimals = 'spirit'

-- Language Options

Config.CurrentLocale = 'en'  -- 'es', 'en', depending on what you want to use, you can add your own below
Config.Locales = {
    ['en'] = {
        consuming = "Consuming..",
        insufficientgummies = "You don't have any gummies to consume..",
        insufficientfentanyl = "You don't have any fentanyl to consume..",
        insufficient2cb = "You don't have any 2CB to consume..",
        pickup = 'Collect',
        collecting = 'Collecting..',
        process = 'Process',
        shroom_harvest_log = 'Collected **Magic Mushrooms**',
        gummies_table_header = 'LSD Gummies',
        gummies_table_title = 'Processing Table',
        gummies_table_description = 'Ingredients: 3x Poppy Plant, 1x Ammonia, 1x Plastic Bag',
        gummies_table_progress = 'Processing...',
        gummies_harvest_log = 'Collected **Chemicals**',
        gummies_process_log = 'Processed **Gummies**',
        fentanyl_table_header = 'Fentanyl',
        fentanyl_table_title = 'Processing Table',
        fentanyl_table_description = 'Ingredients: 3x Poppy Plant, 1x Ammonia, 1x Plastic Bag',
        fentanyl_table_progress = 'Processing...',
        fentanyl_harvest_log = 'Collected **Chemicals**',
        fentanyl_process_log = 'Processed **Fentanyl**',  
        fentanyl_inside_teleport = 'Go in',
        fentanyl_outside_teleport = 'Exit',
        fentanyl_inside_teleport_progress = 'Going in',
        fentanyl_outside_teleport_progress = 'Going out',
        preparing_syringe = 'Preparing Syringe..',
        using_syringe = 'Injecting Syringe..',
        missing_item = 'You are missing an item!',   
        phone_booth_title = 'Choose which Drug to sell!',
        phone_booth_sell_title = 'Drug Sale',
        client_offer = 'The client offers **$%s** for **%s %s**',
        client_offer_title = 'Client Offer',
        client_decline_offer = 'The client has rejected your offer!',
        client_sent_gps = 'The client has sent a GPS Location',
        sell_log = 'User sold $%s for %s %s',
        succes_offer = 'Successful sale, You received $',
        cancel_offer = 'Cancel Offer',
        cancelling_deal = 'Cancelling deal...',
        start_drug_sale = 'Start Sale',
        requiredItems = 'You don\'t have the required items!',
        client = 'Client',
        sell = 'Sell',
        cancel = 'Cancel',
        negotiate = 'Negotiate',
        negotiating_progress = 'Negotiating...',
        cooldown = 'You need to wait a moment',
        looking_for_clients = 'Looking for Clients...',
        price = 'Price:',
        craftmenu = 'Craft',
        ArmourAdded = 'You feel more protected!',
        Blackout2DText = 'ENJOY THE TRIP!'
    },    
    ['es'] = {
        consuming = "Consumiendo..",
        insufficientgummies = "No tienes más gomitas para consumir..",
        insufficientfentanyl = "No tienes más fentanilo para consumir..",
        insufficient2cb = "No tienes más 2CB para consumir..",
        pickup = 'Recolectar',
        collecting = 'Recolectando..',
        process = 'Procesar',
        gummies_table_header = 'LSD Gummies',
        gummies_table_title = 'Tabla de Procesado',
        gummies_table_description = 'Ingredientes: 3x Planta de amapola, 1x Amoniaco, 1x Bolsa de plástico"',
        gummies_table_progress = 'Procesando..',
        gummies_harvest_log = 'Ha recolectado **Quimicos**',
        gummies_process_log = 'Ha procesado **Gomitas**', 
        fentanyl_table_header = 'Fentanyl',
        fentanyl_table_title = 'Tabla de Procesado',
        fentanyl_table_description = 'Ingredientes: 3x Planta de amapola, 1x Amoniaco, 1x Bolsa de plástico"',
        fentanyl_table_progress = 'Procesando..',
        fentanyl_harvest_log = 'Ha recolectado **Quimicos**',
        fentanyl_process_log = 'Ha procesado **Fentanilo**', 
        fentanyl_inside_teleport = 'Ingresar',
        fentanyl_outside_teleport = 'Salir',
        fentanyl_inside_teleport_progress = 'Ingresando',
        fentanyl_outide_teleport_progress = 'Saliendo',
        preparing_syringe = 'Preparando Jeringa..',
        using_syringe = 'Inyectando Jeringa..',
        missing_item = 'Te falta un objeto para poder realizar esto!',
        phone_booth_title = 'Elige que Droga vender!',
        phone_booth_sell_title = 'Venta de Drogas',
        client_offer = 'El cliente ofrece $%s por %s %s',
        client_offer_title = 'Oferta del Cliente',
        client_decline_offer = 'El cliente ha rechazado tu oferta!',
        client_sent_gps = 'El cliente ha enviado una Ubicacion GPS',
        sell_log = 'El usuario vendio **$%s** por **%s %s**',
        succes_offer = 'Venta exitosa, Has recibido $',
        cancel_offer = 'Cancelar Oferta',
        cancelling_deal = 'Cancelando trato..',
        start_drug_sale = 'Comenzar venta',
        requiredItems = 'No tienes los articulos requeridos!',
        client = 'Cliente',
        sell = 'Vender',
        cancel = 'Cancelar',
        negotiate = 'Negociar',
        negotiating_progress = 'Negociando..',
        cooldown = 'Debes esperar un momento',
        looking_for_clients = 'Buscando Clientes..',
        price = 'Precio:',
        craftmenu = 'Craftear',
        ArmourAdded = 'Te sientes más protegido!',
        Blackout2DText = 'DISFRUTA EL VIAJE!'
    }
}

return Config -- DO NOT TOUCH


---                                     _______   _______   ______  __       __  ________                                       
---                                            \ |       \ |      \|  \     /  \|        \                                              ---
---                                      $$$$$$$\| $$$$$$$\ \$$$$$$| $$\   /  $$| $$$$$$$$                                              ---
---                                      $$__/ $$| $$__| $$  | $$  | $$$\ /  $$$| $$__                                                  ---
---                                      $$    $$| $$    $$  | $$  | $$$$\  $$$$| $$  \                                                 ---
---                                      $$$$$$$ | $$$$$$$\  | $$  | $$\$$ $$ $$| $$$$$                                                 ---
---                                      $$      | $$  | $$ _| $$_ | $$ \$$$| $$| $$_____                                               ---
---                                      $$      | $$  | $$|   $$ \| $$  \$ | $$| $$     \                                              ---
---                                      \$$       \$$   \$$ \$$$$$$ \$$      \$$ \$$$$$$$$                                             ---
                                                                                                                                                                                                                               
                                                                                                                 
---           _______   ________  __     __  ________  __        ______   _______   __       __  ________  __    __  ________           ---
---                 \ |        \|  \   |  \|        \|  \      /      \ |       \ |  \     /  \|        \|  \  |  \|        \           ---
---           $$$$$$$\| $$$$$$$$| $$   | $$| $$$$$$$$| $$     |  $$$$$$\| $$$$$$$\| $$\   /  $$| $$$$$$$$| $$\ | $$ \$$$$$$$$           ---
---           $$  | $$| $$__    | $$   | $$| $$__    | $$     | $$  | $$| $$__/ $$| $$$\ /  $$$| $$__    | $$$\| $$   | $$              ---
---           $$  | $$| $$  \    \$$\ /  $$| $$  \   | $$     | $$  | $$| $$    $$| $$$$\  $$$$| $$  \   | $$$$\ $$   | $$              ---
---           $$  | $$| $$$$$     \$$\  $$ | $$$$$   | $$     | $$  | $$| $$$$$$$ | $$\$$ $$ $$| $$$$$   | $$\$$ $$   | $$              ---
---           $$__/ $$| $$_____    \$$ $$  | $$_____ | $$_____| $$__/ $$| $$      | $$ \$$$| $$| $$_____ | $$ \$$$$   | $$              ---
---           $$    $$| $$     \    \$$$   | $$     \| $$     \\$$    $$| $$      | $$  \$ | $$| $$     \| $$  \$$$   | $$              ---
---          \$$$$$$$  \$$$$$$$$     \$     \$$$$$$$$ \$$$$$$$$ \$$$$$$  \$$       \$$      \$$ \$$$$$$$$ \$$   \$$    \$$              ---
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://prime-scripts-1.gitbook.io/pr-scripts-docs/docs/quickstart-2/configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
