Drug Sell [ESX/QB]

Hello, we present you the Drug Sell script.

This is our first FREE SCRIPT

The Drug Sell script contains 3 types of sales: selling drugs to NPCs, selling drugs with James, and selling drugs in vending machines (for players only).
Our script has a level system that is completely configurable in the config and supports metadata-based items.

Showcase

Download here

Code is accessible No
Subscription-based No
Lines (approximately) 2400+
Requirements es_extended​, lvl_bridge​, ox_inventory​, ox_lib​, oxmysql
Support Yes
10 Likes

Please note that the script is encrypted

Nice work :100::+1:

3 Likes

lvl_bridge is a dependancy. Where can we get this? Can’t find anything anywhere called lvl_bridge.

When you download this drug sell, you will get lvl_drugsell and lvl_bridge on your keymaster

1 Like

Have you tested it on Qbox

ive tried with a fresh qbox server and i get ducked of with ped running away when targeting them but i gave myself a joint had to make my own weed_joint image and shared items lua one isnt provided

,

so can you tell me how to fix this it cause everything else works


image


greate script love it but wish it was qbox compatable

1 Like

This looks really solid, but the main issue I keep running into with most drug-selling scripts (like the the one built in to Jaksam’s Drug Creator and a lot of the standalone ones) is that they don’t work with items that use metadata. For example, with Rep Weed, every strain is set up through metadata, and these scripts just don’t recognize it. On top of that, the payout is usually only in dirty money or marked bills. I’ve been searching everywhere, but I can’t seem to find a script that actually lets you sell metadata-based drugs. Does this one handle that?

This drug sell script does not handle selling drugs with metadata-based items, but a minor update for this script will be released soon where I will add new features, so maybe I will look into this as well.

1 Like

This script is not tested for Qbox but a minor update will be released soon where we will test it and add compatibility with qbox.

appreciate it ive not used qbcore i made transfer over to qbox and liked the concept i appreciate the way this works if you need help you can ask everything works with qbox its just npc.lua is causing issues but its locked which i understand why everything from restocking placing the drug_machine recieving the joints its the interaction side of it when you go to stop a ped thrid eye the menu comes up you dont have the item litterally everything else works with qbox sop wondering is it the trigger events not checking pockets for item inside the ui

everything works until you get to /selldrugs and third eye peds

1 Like

When is that coming?

W dev already loving your work if you can get it or look into it would be dope asf <3

im getting this error while trying to sell drugs error during NUI callback select: citizen:/scripting/lua/scheduler.lua:580: ^1SCRIPT ERROR: ?:-1: attempt to concatenate a nil value^7 the target first like is there for half a second then dissapears

[md]# Disconnected by server Blacklisted server event: lvl_drugsell:server:sellDrug (count) anyone had this before? i have no anti cheat installed

In the new version you will find metadata config for drug