SleepyCode
Home
AboutBlogSubscriptionDocs
Cart0
SleepyCode
Cart0
  • 💣Documentation

Scripts

  • Multicharacter
  • DevTool
  • Fishing
  • 🗃️Garages V2
  • 🚌Bus Job
  • 🚗Vehicle Shop V1
  • 🗃️Garages V1
  • 🍁Selldrugs
    • Installation
    • Config File
    • Notification Translations
  • 🎅Advent Calendar
  1. Docs
  2. /Selldrugs
  3. /Config File

Selldrugs

Config File

Configure Selldrugs items, trust, police requirements, notifications, and sell interaction settings.

Use this page to configure sellable items, trust, blacklisted peds, notifications, and interaction settings.

Balance Chance, RequiredPolice, and trust values together for smoother gameplay.

shared/config.lua
Lua
Config = {}Config.Items = {    { item = "weedplant_packedweed", from = 50, to = 200, label = "Marihuana", description = "Naturalna suszona roślina, idealna na relaks i odprężenie po ciężkim dniu." },    -- add more if you want}Config.Others = {    MaxSellAmount = 5,    RequiredPolice = 1,    PoliceJobName = "police",    Chance = 50, -- Percentages on drug sales    AllowedSalesTime = {        isActive = true,        Time = {            From = 0,            To = 23,        },    }}Config.Trust = {    AddTrust = 0.20, -- Number of percentages added after sale    RemoveTrust = 0.10 -- Amount of interest taken after sale}Config.BlacklistedPeds = {-- Here, you can add many peds which you can find at https://docs.fivem.net/docs/game-references/ped-models/    "a_c_boar",    "a_c_cat_01",    "a_c_chickenhawk",    "a_c_chimp",    "a_c_chop",    "a_c_cormorant",    "a_c_cow",    "a_c_coyote",    "a_c_crow",    "a_c_deer",    "a_c_dolphin",    "a_c_fish",    "a_c_hen",    "a_c_humpback",    "a_c_husky",    "a_c_killerwhale",    "a_c_mtlion",    "a_c_pig",    "a_c_pigeon",    "a_c_poodle",    "a_c_pug",    "a_c_rabbit_01",    "a_c_rat",    "a_c_retriever",    "a_c_rhesus",    "a_c_rottweiler",    "a_c_seagull",    "a_c_sharkhammer",    "a_c_sharktiger",    "a_c_shepherd",    "a_c_stingray",    "a_c_westy",    "mp_m_shopkeep_01",}Config.Notify = {    DontHaveItem = {        title = "Error!",        description = "Nie posiadasz żadnych przedmiotów, które możesz sprzedać.",        type = "warning",        duration = 5000    },    FailedSold = {        title = "Error!",        description =        "Nie udalo ci sie sprzedać! Osoba zadzwoniła na policję, oznacza to że twoja reputacja spada! Mniejsza lojalność oznacza mniejsze zyski",        type = "warning",        duration = 5000    },    Success = {        title = "Success!",        description =        "Udało ci się sprzedać narkotyk! Zdobywasz coraz większe zaufanie! Twoje zarobki będą rosły wraz z reputacją.",        type = "success",        duration = 5000    },    OfferedToNPC = {        title = "Error!",        description = "Już próbowałeś bądź sprzedałeś temu npc!",        type = "warning",        duration = 5000    },    SalesNotAllowedDuringHours = {        title = "Error!",        description = "Sprzedaż jest niedozwolona o tej godzinie!",        type = "warning",        duration = 5000    },    NoPolice = {        title = "Error!",        description = "Brak policji na mieście!",        type = "warning",        duration = 5000    },}Config.ContextMenu = {    Title = "Twoje narkotyki",    Icon = "cannabis",    Data = {        LabelFrom = "Zarobek od",        LabelTo = "Zarobek do",    },}Config.ProgressBar = {    Duration = 5000,    Label = "Trwa sprzedawanie...",}Config.Target = {    Icon = 'fa-solid fa-comments',    Label = 'Porozmawiaj',    Distance = 2.5,}
← PreviousInstallationSelldrugsNext →Notification TranslationsSelldrugs
Ready when you are

Put your server on something that holds up

150+ servers run our resources - ESX, QBCore and standalone. Once the payment clears, the package is waiting in Keymaster.

Browse the catalogueAsk on Discord ↗
  • Delivered instantly
  • Support with no expiry
  • 100+ reviews
  • Payment via Tebex

SleepyCode

FiveM Scripts

Checkout is run by Tebex Limited- they handle payment, invoicing and refunds. © 2026

Community

  • Discord
  • YouTube
  • X (Twitter)

Navigation

  • Home
  • All Scripts
  • ESX Scripts
  • QBCore Scripts
  • Free Scripts
  • About
  • Blog
  • Documentation
  • Support

Legal

  • Privacy Policy
  • Tebex Privacy Policy
  • Terms of Service
  • Impressum

© 2026 SleepyCode. Not affiliated with Rockstar Games or Take-Two Interactive.

Powered byTebex