I'm interested in writing a script that would allow a trader/s, for example Black Market Trader to be the only available sell point for certain items. Excluding or blacklisting the selected traders from being able to sell a (item_x) for a player if not listed.
Ive searched online for all the information i could but nothing really defines this function/script I'm trying to create plus being a noob doesn't help either, lol. If someone out there has the knowledge on how i would go about this could you please help me out.
As of now i have a Black Market Trader and Farming on my server but the items from farming i would like them only to be sold at the Black Market Trader. As of now your able to sell them at all traders, how can i fix this or can someone direct me into the right path to writing a script for this to add into the server to prevent those items from being sold at the other available traders UNLESS its a Black Market.
How would i go about getting this added?
List of items
```
"DDR_Item_Mushrooms",
"DDR_Item_Drugs_Weed",
"DDR_Item_Silver_Ore",
"DDR_Item_Gold_Ore",
"DDR_Item_Crystal_Purple",
"DDR_Item_Crystal_Green" ```