Players can process drugs and sell them on the street with this pair of scripts for RP servers. One handles picking, processing and packing. The other handles street deals that players start at the trunk of their own vehicle. Players can use both without having to teleport inside a shell.
Starting a street deal
Use ox_target on your vehicle’s trunk to start selling. A PED appears some distance away from your vehicle. The PED might steal an item from you. If that happens, you can knock the PED down and retrieve what they took. A street sale can also trigger an alert for police.
Picking and packing
The drug processing script covers Heroin, Weed, MDMA, Coke, Meth and LSD. For each drug, players can pick it, process it and pack it. The script comes with 17 YMAP locations, all described as super lightweight.
Street sales settings
You decide which items players can sell. Add items to the sales config file or remove them as needed. The file has room for as many sale items as you need.
- Set the distance between the vehicle and the PED’s spawn point in
server/main.lua. - Set how likely a PED is to steal an item. The config also lets you adjust the chance that police get a sale alert.
- Edit
client/main.luato change the animations used during sales.
The street sales script works with ps-dispatch as supplied. You can integrate another dispatch system. The sales code is fully open source and you can modify it. Its terms prohibit sharing or reselling the script.
What both scripts need
- QBCore
- ox_inventory
- ox_lib
- ox_target
![858ac079f079303eb2f86277eaf784af2b2eb76f Full Drugs Package [Processing + Sales]](https://cfx-tebex.store/wp-content/uploads/2024/08/858ac079f079303eb2f86277eaf784af2b2eb76f.jpg)
Kali Tice –
The Full Drugs Package script is a fantastic investment. I’ve already seen a return on it!
Kali Tice –
The Full Drugs Package script is a fantastic investment. I’ve already seen a return on it!
Luis Bennett –
It just works. Easy to install, smooth gameplay. Our gang RP improved massively since adding this.
Marcus Hall –
The trunk-based interaction is such a cool touch. Our players immediately noticed the difference compared to other systems. Great job.
Hannah Liu –
So immersive. The theft mechanic adds real tension during street sales. My players are obsessed.
Jasmine Ortega –
Very clean code and well documented. Only reason for 4 stars is I had to tweak a few things for performance on my lower-end test server.
Chris Dunlap –
Would’ve liked a few more built-in dispatch options, but it integrates fine if you know your way around.
DeShawn Price –
Tried it out last night. Wow. Feels like it was made for our city.
Elena Novak –
PED interaction is really well done and adds a nice RP touch. Zero bugs so far.
Troy Medina –
Great script overall. Had some issues with ox_target not registering occasionally, but manageable.
Andrea Coleman –
Love the open-source aspect. Was able to fully customize animations and tweak PED behavior without any issue.
Grant Rhodes –
Solid.