Idle = 0.00ms, Whereas utilizing = 0.04ms

License System

  • ph-selldrugs utilizing Asset Escrow. To higher see the way it works, examine this put up!

How Drug Gross sales Work?


Corners are perfect for Avenue Gangs, they’re designed to permit A number of Folks to Promote Medicine in a single place. Any tried gross sales are despatched to the LSPD Central Unit for elevated exercise within the HIDTA (Excessive Depth Drug Trafficking Space) space. The corners can be found from 16:00/04:00 PM to 06:59/06:59 AM in-game time.

  1. Discover the closest Nook and when you find yourself proper subsequent to it, use the /nook command (or the one set in Config.lua) to Begin Promoting.

  2. You’re ready for a Buyer, quickly somebody will method you.

  3. When the Consumer involves us, the script selects the Sort of Drug and the Quantity we now have with us. At the moment we get choice to decide on Worth (Regular – extra likelihood to promote/Larger – much less likelihood to promote)

  4. If the Consumer is glad along with your supply he’ll purchase your Medicine, in any other case he’ll refuse.


Gross sales within the Space are made for actually everybody. It’s based mostly on a Popularity System.

  1. When you find yourself within the Purple Zone marked on the Map, use the /selldrugs command (or the one set in Config.lua) to Begin Promoting.

  2. Go to the Nearest NPC and click on [=] to begin interplay with him.

  3. A brief dialogue takes between you and NPC, in the meantime you supply him your Worth (Drug Sort Worth x Drug Quantity x + (Popularity Factors x Popularity Worth Multiplier)).

  4. After that, the script randomizes the eventualities

  • Consumer purchased Medicine
  • Consumer notified LSPD
  • Consumer stole your Medicine (Beat/Kill him to get them again)
  • Consumer wasn’t

Config

Keys = {
    ['ESC'] = 322, ['F1'] = 288, ['F2'] = 289, ['F3'] = 170, ['F5'] = 166, ['F6'] = 167, ['F7'] = 168, ['F8'] = 169, ['F9'] = 56, ['F10'] = 57,
    ['~'] = 243, ['1'] = 157, ['2'] = 158, ['3'] = 160, ['4'] = 164, ['5'] = 165, ['6'] = 159, ['7'] = 161, ['8'] = 162, ['9'] = 163, ['-'] = 84, ['='] = 83, ['BACKSPACE'] = 177,
    ['TAB'] = 37, ['Q'] = 44, ['W'] = 32, ['E'] = 38, ['R'] = 45, ['T'] = 245, ['Y'] = 246, ['U'] = 303, ['P'] = 199, ['['] = 39, [']'] = 40, ['ENTER'] = 18,
    ['CAPS'] = 137, ['A'] = 34, ['S'] = 8, ['D'] = 9, ['F'] = 23, ['G'] = 47, ['H'] = 74, ['K'] = 311, ['L'] = 182,
    ['LEFTSHIFT'] = 21, ['Z'] = 20, ['X'] = 73, ['C'] = 26, ['V'] = 0, ['B'] = 29, ['N'] = 249, ['M'] = 244, [','] = 82, ['.'] = 81,
    ['LEFTCTRL'] = 36, ['LEFTALT'] = 19, ['SPACE'] = 22, ['RIGHTCTRL'] = 70,
    ['HOME'] = 213, ['PAGEUP'] = 10, ['PAGEDOWN'] = 11, ['DEL'] = 178,
    ['LEFT'] = 174, ['RIGHT'] = 175, ['TOP'] = 27, ['DOWN'] = 173,
}

ph7 = {}

ph7.Prefix = ESX -- Prefix of your Framework
ph7.TriggerPrefix = "esx" -- Prefix of your triggers Framework
ph7.Colours = {r = 255, g = 66, b = 93} -- Colours of DrawTexts, Markers and many others.
ph7.Medicine = { -- Right here you may add any Medicine you need
    "cocaine",
    "weed",
    "meth",
    "crack",
}
ph7.DrugsPrice = { -- Right here you may configure value for Medicine
    ["cocaine"] = 50,
    ["weed"] = 20,
    ["meth"] = 35,
    ["crack"] = 45,
}
ph7.PoliceJobName = "police" -- Title of the job that can obtain Notifications about Drug Gross sales and many others.

operate ph7Notifications(Standing, arg1, arg2, arg3) -- Right here you may customise Notifications to your wants
    if Standing == "CStartCommand" then
        exports['mythic_notify']:DoCustomHudText("success", "You began Promoting Medicine on the Nook.", 5000)
    elseif Standing == "CStopCommand" then
        exports['mythic_notify']:DoCustomHudText("inform", "You stopped Promoting Medicine on the Nook.", 5000)
    elseif Standing == "CYouDontHaveDrugs" then
        exports['mythic_notify']:DoCustomHudText("error", "You may't begin Promoting Medicine on the Nook with out Medicine.", 5000)
    elseif Standing == "CTooFarFromCorner" then
        exports['mythic_notify']:DoCustomHudText("error", "You're too Removed from the Nook.", 5000)
    elseif Standing == "CTime" then
        exports['mythic_notify']:DoCustomHudText("error", "Corners can be found from 16:00 to 06:59.", 2500)
    elseif Standing == "CNotEnoughCops" then
        exports['mythic_notify']:DoCustomHudText("error", "On the Server have to be at the very least "..Nook.MinLSPDToStartSale.." Cops to begin Promoting Medicine on the Nook.", 5000)
    elseif Standing == "CLeaveVehicle" then
        exports['mythic_notify']:DoCustomHudText("error", "If you would like begin to Promoting Medicine on the Nook, you must Go away Automobile.", 5000)
    elseif Standing == "CCantDoThis" then
        exports['mythic_notify']:DoCustomHudText("error", "You may't do this now.", 5000)
    elseif Standing == "CClientComing" then
        exports['mythic_notify']:DoCustomHudText("inform", "Somebody stepping into your means...", 2500)
    elseif Standing == "CSelledDrugs" then
        exports['mythic_notify']:DoCustomHudText("success", "You offered "..arg1.." for "..tostring(math.ground(arg2)).."$.", 5000)
    elseif Standing == "CNotSelledDrugs" then
        exports['mythic_notify']:DoCustomHudText("error", "Your Consumer did not like your supply.", 5000)
    elseif Standing == "CNotSelledDrugsWithHigherPrice" then
        exports['mythic_notify']:DoCustomHudText("error", "Consumer did not like your value for Drug.", 5000)
    elseif Standing == "CNotifyForCops" then
        exports['mythic_notify']:DoCustomHudText("error", "[HIDTA] On the "..arg1.." space is populated greater than ordinary. Location has been added to the GPS.", 5000)
    elseif Standing == "NLeaveVehicle" then
        exports['mythic_notify']:DoCustomHudText("error", "If you would like begin to Promoting Medicine to NPC, you must Go away Automobile.", 5000)
    elseif Standing == "NTooFarFromArea" then
        exports['mythic_notify']:DoCustomHudText("error", "You're too Removed from the Nearest Space.", 5000)
    elseif Standing == "NNotEnoughCops" then
        exports['mythic_notify']:DoCustomHudText("error", "On the Server have to be at the very least "..NPC.MinLSPDToStartSale.." Cops to begin Promoting Medicine on the Space", 5000)
    elseif Standing == "NYouDontHaveDrugs" then
        exports['mythic_notify']:DoCustomHudText("error", "You may't begin Promoting Medicine to NPC with out Medicine.", 5000)
    elseif Standing == "NStartCommand" then
        exports['mythic_notify']:DoCustomHudText("success", "You began Promoting Medicine within the Nearest Space.", 5000)
    elseif Standing == "NStopCommand" then
        exports['mythic_notify']:DoCustomHudText("inform", "You stopped Promoting Medicine within the Nearest Space.", 5000)
    elseif Standing == "NSelledDrugs" then
        exports['mythic_notify']:DoCustomHudText("success", "You offered "..arg1.." for "..tostring(math.ground(arg2)).."$. Your status is "..arg3.." factors.", 5000)
    elseif Standing == "NNotifyForCops" then
        exports['mythic_notify']:DoCustomHudText("error", "[HIDTA] On the "..arg1.." Space got here to Medicine Gross sales.", 5000)
    elseif Standing == "NNotifyCops" then
        exports['mythic_notify']:DoCustomHudText("inform", "The Consumer made a wierd name, Watch out.", 5000)
    elseif Standing == "NStealDrugs" then
        exports['mythic_notify']:DoCustomHudText("inform", "Consumer stole you "..arg1.."g of "..arg2..", beat him to get them again!", 5000)
    elseif Standing == "NGetBackDrugs" then
        exports['mythic_notify']:DoCustomHudText("success", "You bought your Medicine again, Be extra cautious subsequent time!", 5000)
    elseif Standing == "NNotGetBackDrugs" then
        exports['mythic_notify']:DoCustomHudText("error", "You did not get your Medicine again, Watch out subsequent time!", 5000)
    elseif Standing == "NNotInterested" then
        exports['mythic_notify']:DoCustomHudText("error", "The Consumer shouldn't be thinking about your supply.", 5000)
    finish
finish

ph7.UseCustomDrawTextMessages = false -- (true/false) - If worth are set to True script is utilizing DrawTexts with messages from Beneath
ph7.DrawTextCustomMessages = {
    Of = "g ~w~of~s~ ",
    For = "~w~ for...~s~",
    Nook = {
        NotCornerSelling = "~w~To start out ~s~Promoting Medicine~w~ on the Nook, say ~s~/nook",
        CornerSelling = "Within the space ~w~the place you're standing strolling a lot ~s~potential prospects",
        ClientCameToYou = "Consumer ~w~got here to you, let him examine your ~s~supply",
        CornerRandomText = { -- Random Textual content while you're providing medication to NPC (working with out "Nook.UseCustomDrawTextMessages" choice). You may add right here extra random texts
            "~w~'sup, i can give you~s~",
            "~w~Yo'w, i received for you~s~",
        },
        NormalPriceText = "~w~Regular Worth~s~",
        HigherPriceText = "~w~Larger Worth~s~",
        CornerTime = "~w~Corners can be found from ~s~16:00~w~ to ~s~06:59",
        ClientGoingToYou = "Consumer ~w~going to you...~s~",
    },
    NPC = {
        StartInteraction = "[=]~w~ - Begin Interplay with Potential Consumer~s~",
        ClientGoingToYou = "Consumer ~w~going to your means...~s~",
        PedRandomText = { -- Random Textual content when Ped speaking with you about Medicine (working with out "Nook.UseCustomDrawTextMessages" choice). You may add right here extra random texts
            "~w~Hello, present me your supply Buddy~s~",
        },
        YourRandomText = { -- Random Textual content while you're speaking with Ped about Medicine (working with out "Nook.UseCustomDrawTextMessages" choice). You may add right here extra random texts
            "~w~'sup, i can give you~s~",
            "~w~Yo'w, i received for you~s~",
        },
        NormalPriceWithEXPText = "~w~Regular Worth~s~",
        Purchase = { -- Random Textual content when NPC speaking with us after Purchase (working with out "Nook.UseCustomDrawTextMessages" choice). You may add right here extra random texts
            "~w~OK, thanks Buddy~s~",
            "~w~It is appears good, thanks~s~",
        },
        NotifyCops = { -- Random Textual content when NPC speaking with us after supply to Purchase (working with out "Nook.UseCustomDrawTextMessages" choice). You may add right here extra random texts
            "~w~Uhh... It isn't for me~s~",
            "~w~I do not need that shit~s~",
        },
        StealDrugs = { -- Random Textual content when NPC steal our Medicine (working with out "Nook.UseCustomDrawTextMessages" choice). You may add right here extra random texts
            "~w~You wanna Promote Medicine on my Avenue? Motherfucker!~s~",
            "~w~phahaha! You are greatest loser in 'Santos!~s~"
        },
        NotInterested = { -- Random Textual content when NPC usually are not thinking about our supply (working with out "Nook.UseCustomDrawTextMessages" choice). You may add right here extra random texts
            "~w~I do not need it, sorry~s~",
            "~w~Promote it to another person...~s~",
        },
    },
}
----------------------------------------------------------------------------------- CORNER CONFIG
Nook = {}

Nook.CommandName = "nook" -- Title of Command that activate Promoting on Nook
Nook.SalesForBlackMoney = true -- (true/false) - If worth are set to True script is giving Black Cash for Medicine
Nook.HigherPriceMultiplier = 1.2 -- Drug Sort Worth * Drug Quantity * Nook.HigherPriceMultiplier = Larger Worth
Nook.MinWaitingForClientTime = 15 -- Set time in seconds
Nook.MaxWaitingForClientTime = 30 -- Set time in seconds
Nook.MinLSPDToStartSale = 0 -- Minimal on-line Cops to Begin Promoting Medicine on Nook
Nook.Days = { -- Script is randomly getting "Day" (with every Script Begin/Restart). If it get greater worth, this may enhance the possibility of Promoting Medicine on Nook
    [1] = {PercentsToSell = 60},
    [2] = {PercentsToSell = 40},
}
Nook.BlipForCops = {
    Sprite = 403, -- https://docs.fivem.internet/docs/game-references/blips/
    Color = 1, -- Beneath Blips Sprite Class https://docs.fivem.internet/docs/game-references/blips/
    Alpha = 1000,
    Scale = 0.8,
    BlipText = "[HIDTA] Place of Drug Sale", -- Blip Title for Cops
    RemoveBlipTime = 15 -- Set time in seconds
}
Nook.Locations = { -- Right here you may Add extra locations for Corners! (X,Y,Z - Place of Nook | NPCX,NPCY,NPCZ, NPCH - Place the place Ped will likely be spawned (NPCH is Heading!!!))
    {x = -164.56, y = -1631.36, z = 33.66, npcx = -154.02, npcy = -1627.01, npcz = 33.65, npch = 79.15, npc, usingCorner = false},
    {x = 79.70, y = -1908.02, z = 21.34, npcx = 98.93, npcy = -1914.68, npcz = 21.02, npch = 157.76, npc, usingCorner = false},
    {x = 322.38, y = -2016.29, z = 21.17, npcx = 335.29, npcy = -2010.07, npcz = 22.31, npch = 48.32, npc, usingCorner = false},
}
-----------------------------------------------------------------------------------
----------------------------------------------------------------------------------- NPC SALES CONFIG
NPC = {}

NPC.CommandName = "selldrugs" -- Title of Command that activate Promoting in Nearest Space
NPC.SalesForBlackMoney = true -- (true/false) - If worth are set to True script is giving Black Cash for Medicine
NPC.ReputationMultiplier = 0.1 -- Drug Sort Worth * Drug Quantity + (Variety of your Popularity * NPC.ReputationMultiplier) = Worth for Medicine
NPC.MaxDistanceFromArea = 250.0 -- The scale of the Drug Gross sales zone
NPC.MinLSPDToStartSale = 0 -- Minimal on-line Cops to Begin Promoting Medicine in Nearest Space
NPC.MaxTimeFightWithStealer = 10 -- Most time we now have to beat/kill a Ped which stolen our Medicine (Set time in seconds)
NPC.Blips = {
    RadiusBlip = {
        Color = 1, -- Beneath Blips Sprite Class https://docs.fivem.internet/docs/game-references/blips/
        Alpha = 75,
    },
    SaleBlip = {
        Sprite = 403, -- https://docs.fivem.internet/docs/game-references/blips/
        Color = 1, -- Beneath Blips Sprite Class https://docs.fivem.internet/docs/game-references/blips/
        Alpha = 1000,
        Scale = 0.8,
        BlipText = "[HIDTA] Place of Drug Sale", -- Blip Title for Cops
        RemoveBlipTime = 15 -- Set time in seconds
    },
}
NPC.ChooseRandomlyPercentage = { -- Scirpt is getting percents from 0 to 100!!! Instance Beneath...
    Purchase = 60, -- 100 - Purchase(60) = 40% likelihood for State of affairs with Regular Drug Sale
    NotifyCops = 40, -- Purchase(60) - NotifyCops(40) = 20% likelihood for State of affairs with Consumer Notifies Cops
    StealDrugs = 35, -- NotifyCops(40) - StealDrugs(35) = 5% likelihood for State of affairs with Ped Stealing our Medicine
    NotInterested = 0, -- StealDrugs(35) - NotInterested(0) = 35% likelihood for State of affairs with Ped usually are not thinking about our supply
}
NPC.Areas  = { -- Right here you may Add extra locations for Promoting Medicine! (X,Y,Z - Coords of Space)
    {x = 237.19, y = 164.47, z = 105.10, BlipRadius, usingArea = false},
    {x = -233.77, y = -642.95, z = 32.82, BlipRadius, usingArea = false},
    {x = 243.75, y = -1653.58, z = 28.65, BlipRadius, usingArea = false},
}
-----------------------------------------------------------------------------------

Preview

Purchase Right here

Code is accessible Solely Config.lua
Subscription-based No
Traces (roughly) ~1600
Necessities ESX/QBCore
Help Sure



Looking for paid scripts? Click here