Alternative selling/buying system. (You can run the default and this next to each other without any problem. Which is recommended for vehicle buying & selling).
Sell and buy directly from and to backpack, gear or the your current vehicle in the vicinity where you were driver from. Decide which items you sell. Traders will only make it possible to trade the items they accept ( goes fully automatic, so only items they accept will be listed on the left).
You push items to the right to sell or buy.
Double checks what was deleted from backpacks/vehicles so that people can not cheat. Can only sell from your vehicle were u was the last driver from (in x meter radius)
Drop the zupa folder in your mission file
In your fn_selfactions.sqf
Place:
_buyV = player addAction ["<t color='#0059FF'>Advanced Trading</t>", "zupa\advancedTrading\init.sqf",(_traderMenu select 0), 999, true, false, "",""];
s_player_parts set [count s_player_parts,_buyV];
above (look at the comment)
// Database menu
_buy = player addAction [localize "STR_EPOCH_PLAYER_289", "\z\addons\dayz_code\actions\show_dialog.sqf",(_traderMenu select 0), 999, true, false, "",""];
s_player_parts set [count s_player_parts,_buy];
#include "zupa\advancedTrading\ZSCdefines.hpp" // if u don't have it from ZSC
#include "zupa\advancedTrading\advancedTrading.hpp"
Add the following exceptions to your antihack if needed
AdvancedTrading
711197