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