Jump to content
  • 0

[1.0.5.1] Custom Trader Category HELP


Pavillin

Question

Hello all, I have just installed maca's Dynamic Traders system. The purpose was so I can have a custom trader that shifts position each restart and sells rare weapons etc. I have everything work but the only issue is when I open the traders menu and select a custom cetagory (example "Special Weapons") nothing shows up but when I add a category that another trader uses (ex. wholesale) it works perfectly. It's only my custom ones not working :/ . I'm certain this has something to do with the menu ID in the 'server_traders.sqf' file in the mission folder. I wasn't sure what number to put so I picked a random one that wasn't being used for all my custom category's.

Example:

in my server_traders.sqf

// Foreign Trader (Roaming)
menu_Profiteer1 = [[
	["Special Weapons",1010],
	["Special Ammo",1011],
	["Special Vehicles",1012],
	["Vehicle Ammo",1013],
	["Other",1014]],
	[],"neutral"];

I have each category in a custom .hpp file where all my other trader stuff is.

Any help would be much appreciated !

Link to comment
Share on other sites

Recommended Posts

  • 0

That number has to match the number in the hpp file where the items are listed

 

the hpp file will start

 

class Category_693 {

 

you also need to add any new .hpp catagories to cfgservertrader.hpp

#include "Category\specialweapons.hpp"

for example

Link to comment
Share on other sites

  • 0
31 minutes ago, lwbuk said:

That number has to match the number in the hpp file where the items are listed

 

the hpp file will start

 

class Category_693 {

 

you also need to add any new .hpp catagories to cfgservertrader.hpp

#include "Category\specialweapons.hpp"

for example

That's what I did I created a new .hpp file with all the new sections and their ids just like your example and added the new file to the cfgservertrader.hpp. Like I said the trader is there and when I open the menu all my new category's are there (special weapons, special ammo, etc) but when I click on a category, it's empty. This is what I can't figure out!

Link to comment
Share on other sites

  • 0
Spoiler

//Special Weapons
class Catagory_1010 {
	//Snipers
	class USSR_cheytacM200 {type = "trade_weapons";		buy[] = {75000,"Coins"};sell[] = {30000,"Coins"};};
	class USSR_cheytacM200_sd {type = "trade_weapons";	buy[] = {90000,"Coins"};sell[] = {35000,"Coins"};};
	class m107_DZ {type = "trade_weapons";				buy[] = {100000,"Coins"};sell[] = {50000,"Coins"};};
	class BAF_AS50_scoped_DZ {type = "trade_weapons";	buy[] = {100000,"Coins"};sell[] = {50000,"Coins"};};
	class KSVK_DZE {type = "trade_weapons";				buy[] ={10000,"Coins"};sell[] ={5000,"Coins"};};
	class BAF_LRR_scoped {type = "trade_weapons";		buy[] = {10000,"Coins"};sell[] = {10000,"Coins"};};
	class BAF_LRR_scoped_W {type = "trade_weapons";		buy[] = {10000,"Coins"};sell[] = {10000,"Coins"};};
	//Launchers
	class Vil_RPG16 {type = "trade_weapons";			buy[] = {100000,"Coins"};sell[] = {10000,"Coins"};};
	class vilas_rpg22 {type = "trade_weapons";			buy[] = {100000,"Coins"};sell[] = {10000,"Coins"};};
	class vil_Panzerfaust3 {type = "trade_weapons";		buy[] = {100000,"Coins"};sell[] = {10000,"Coins"};};
	class vilas_rpg26 {type = "trade_weapons";			buy[] = {100000,"Coins"};sell[] = {10000,"Coins"};};
	class Vil_RPG29 {type = "trade_weapons";			buy[] = {100000,"Coins"};sell[] = {10000,"Coins"};};
	class Vil_RPG7d_PGO {type = "trade_weapons";		buy[] = {100000,"Coins"};sell[] = {10000,"Coins"};};
	class Vil_RPO_A {type = "trade_weapons";			buy[] = {100000,"Coins"};sell[] = {10000,"Coins"};};
	class RPG7V {type = "trade_weapons";				buy[] = {100000,"Coins"};sell[] = {10000,"Coins"};};
	class M136 {type = "trade_weapons";					buy[] = {100000,"Coins"};sell[] = {10000,"Coins"};};
	class SMAW {type = "trade_weapons";					buy[] = {100000,"Coins"};sell[] = {10000,"Coins"};};
	class RPG18 {type = "trade_weapons";				buy[] = {100000,"Coins"};sell[] = {10000,"Coins"};};
	class MAAWS {type = "trade_weapons";				buy[] = {100000,"Coins"};sell[] = {10000,"Coins"};};
};

//Special Ammo
class Catagory_1011 {
	//Snipers
	class USSR_5Rnd_408 {type = "trade_items";		buy[] = {5000,"Coins"};sell[] = {2000,"Coins"};};
	class 10Rnd_127x99_m107 {type = "trade_items";	buy[] = {2000,"Coins"};sell[] = {800,"Coins"};};
	class 5Rnd_127x99_AS50 {type = "trade_items";	buy[] = {3000,"Coins"};sell[] = {1200,"Coins"};};
	class 5Rnd_127x108_KSVK {type = "trade_items";	buy[] ={1500,"Coins"};sell[] ={500,"Coins"};};
	class 5Rnd_86x70_L115A1 {type = "trade_items";	buy[] = {1500,"Coins"};sell[] = {600,"Coins"};};
	//Launchers
	class Vil_PGO_PG16 {type = "trade_items";		buy[] = {100000,"Coins"};sell[] = {5000,"Coins"};};
	class vil_RPG22 {type = "trade_items";			buy[] = {100000,"Coins"};sell[] = {5000,"Coins"};};
	class Vil_PZF3_T_HEAT {type = "trade_items";	buy[] = {100000,"Coins"};sell[] = {5000,"Coins"};};
	class Vil_PZF3_B_HEDP {type = "trade_items";	buy[] = {100000,"Coins"};sell[] = {5000,"Coins"};};
	class vil_RPG26 {type = "trade_items";			buy[] = {100000,"Coins"};sell[] = {5000,"Coins"};};
	class Vil_PG29_HEAT {type = "trade_items";		buy[] = {100000,"Coins"};sell[] = {5000,"Coins"};};
	class Vil_PGOD_PG7VL {type = "trade_items";		buy[] = {100000,"Coins"};sell[] = {5000,"Coins"};};
	class Vil_PGOD_PG7VR {type = "trade_items";		buy[] = {100000,"Coins"};sell[] = {5000,"Coins"};};
	class Vil_PGOD_PG7T {type = "trade_items";		buy[] = {100000,"Coins"};sell[] = {5000,"Coins"};};
	class Vil_PGOD_PG7OG {type = "trade_items";		buy[] = {100000,"Coins"};sell[] = {5000,"Coins"};};
	class Vil_SHMEL_FTW {type = "trade_items";		buy[] = {100000,"Coins"};sell[] = {5000,"Coins"};};
	class PG7V {type = "trade_items";				buy[] = {100000,"Coins"};sell[] = {5000,"Coins"};};
	class AT13 {type = "trade_items";				buy[] = {100000,"Coins"};sell[] = {5000,"Coins"};};
	class SMAW_HEAA {type = "trade_items";			buy[] = {100000,"Coins"};sell[] = {5000,"Coins"};};
	class Dragon_EP1 {type = "trade_items";			buy[] = {100000,"Coins"};sell[] = {5000,"Coins"};};
	class MAAWS_HEAT {type = "trade_items";			buy[] = {100000,"Coins"};sell[] = {5000,"Coins"};};
};

//Special Vehicles
class Catagory_1012 {
	class BTR60_TK_EP1 {type = "trade_any_vehicle";buy[] = {200000,"Coins"};sell[] = {100000,"Coins"};};
	class GAZ_Vodnik_HMG {type = "trade_any_vehicle";buy[] = {200000,"Coins"};sell[] = {100000,"Coins"};};
	class HMMWV_M998_crows_M2_DES_EP1 {type = "trade_any_vehicle";buy[] = {120000,"Coins"};sell[] = {60000,"Coins"};};
	class BRDM2_TK_EP1 {type = "trade_any_vehicle";buy[] = {120000,"Coins"};sell[] = {60000,"Coins"};};
	class BRDM2_TK_GUE_EP1 {type = "trade_any_vehicle";buy[] = {120000,"Coins"};sell[] = {60000,"Coins"};};
	class BRDM2_INS {type = "trade_any_vehicle";buy[] = {120000,"Coins"};sell[] = {60000,"Coins"};};
	class BRDM2_Gue {type = "trade_any_vehicle";buy[] = {120000,"Coins"};sell[] = {60000,"Coins"};};
	class BTR40_MG_TK_INS_EP1 {type = "trade_any_vehicle";buy[] = {15000,"Coins"};sell[] = {10000,"Coins"};};
	class LandRover_SPG9_TK_INS_EP1 {type = "trade_any_vehicle";buy[] = {50000,"Coins"};sell[] = {25000,"Coins"};};
	class UAZ_SPG9_INS {type = "trade_any_vehicle";buy[] = {100000,"Coins"};sell[] = {50000,"Coins"};};
	class LAV25_HQ_DZ {type = "trade_any_vehicle";buy[] = {100000,"Coins"};sell[] = {50000,"Coins"};};
	class LAV25_HQ_DZE {type = "trade_any_vehicle";buy[] = {30000,"Coins"};sell[] = {15000,"Coins"};};
	class M113_PMC {type = "trade_any_vehicle";buy[] = {80000,"Coins"};sell[] = {40000,"Coins"};};
	class M113_TK_EP1 {type = "trade_any_vehicle";buy[] = {70000,"Coins"};sell[] = {35000,"Coins"};};
	class M113_UN_EP1 {type = "trade_any_vehicle";buy[] = {60000,"Coins"};sell[] = {30000,"Coins"};};
	class M1133_MEV_EP1 {type = "trade_any_vehicle";buy[] = {70000,"Coins"};sell[] = {35000,"Coins"};};
};

//Vehicle Ammo
class Catagory_1013 {
	class 100Rnd_762x54_PK {type = "trade_items";	 buy[] = {200,"Coins"};sell[] = {100,"Coins"};};
	class 200Rnd_556x45_M249 {type = "trade_items";	 buy[] = {500,"Coins"};sell[] = {250,"Coins"};};
	class 2000Rnd_762x51_M134 {type = "trade_items"; buy[] = {5000,"Coins"};sell[] = {2500,"Coins"};};
	class 100Rnd_127x99_M2 {type = "trade_items";	 buy[] = {4000,"Coins"};sell[] = {2000,"Coins"};};
	class 48Rnd_40mm_MK19 {type = "trade_items";	 buy[] = {3000,"Coins"};sell[] = {1500,"Coins"};};
	class 50Rnd_127x107_DSHKM {type = "trade_items"; buy[] = {1000,"Coins"};sell[] = {500,"Coins"};};
	class 150Rnd_127x107_DSHKM {type = "trade_items";buy[] = {3000,"Coins"};sell[] = {1500,"Coins"};};
	class 29Rnd_30mm_AGS30 {type = "trade_items";	 buy[] = {5000,"Coins"};sell[] = {2500,"Coins"};};
	class 6Rnd_HE_M203_heli {type = "trade_items";	 buy[] = {5000,"Coins"};sell[] = {2500,"Coins"};};
};

//Other
class Catagory_1014 {
	class ItemHotwireKit {type = "trade_items";buy[] = {40000,"Coins"};sell[] = {20000,"Coins"};};
	//test v
	class PipeBomb {type = "trade_items";buy[] = {20000,"Coins"};sell[] = {10000,"Coins"};};
	class PMC_ied_v1 {type = "trade_items";buy[] = {5000,"Coins"};sell[] = {2500,"Coins"};};
	class PMC_ied_v2 {type = "trade_items";buy[] = {10000,"Coins"};sell[] = {5000,"Coins"};};
	class PMC_ied_v3 {type = "trade_items";buy[] = {15000,"Coins"};sell[] = {7500,"Coins"};};
	class PMC_ied_v4 {type = "trade_items";buy[] = {20000,"Coins"};sell[] = {10000,"Coins"};};
	class HandGrenade_west {type = "trade_items";buy[] = {400,"Coins"};sell[] = {200,"Coins"};};
	class 1Rnd_HE_M203 {type = "trade_items";buy[] ={200,"Coins"};sell[] ={100,"Coins"};};
	class HandGrenade_east {type = "trade_items";buy[] = {400,"Coins"};sell[] = {200,"Coins"};};
};

 

This is all located inside "Roaming.hpp" and yes it is being called in the "cfgServerTrader.hpp" file.

Edit:

I just tested adding a category that another trader already uses just to make sure the problem wasn't with the trader and it worked exactly like it's supposed to. So it's only my custom category's that won't work :/

Link to comment
Share on other sites

  • 0

I've been trying to get this roaming trader working by using maca's Dynamic traders. it all works for me, but im trying to get it set up the way you are too. just a single roaming trader that sells unique items apart from the static traders.
I removed all the dynamic traders except the heli trader, but their map markers wont go away. also having trouble figuring out how to make a unique trader that roams the map every restart instead of these Heli trader.

 

any info on how to do this would be awesome.

Link to comment
Share on other sites

  • 0
41 minutes ago, Saije said:

I've been trying to get this roaming trader working by using maca's Dynamic traders. it all works for me, but im trying to get it set up the way you are too. just a single roaming trader that sells unique items apart from the static traders.
I removed all the dynamic traders except the heli trader, but their map markers wont go away. also having trouble figuring out how to make a unique trader that roams the map every restart instead of these Heli trader.

 

any info on how to do this would be awesome.

I did what was said above regarding what the trader sells. other than that I made a copy of the "hero.sqf" file and renamed it to something like "roaming.sqf".

Then I opened the file and changed the trader's model to the one I want.

then went to the "init.sqf" in the dynamic traders folder and changed this so only my roaming trader appears (same with the map marker)

_trader_config = [
	//[1, "hero.sqf", 		"Hero Trader", 					"ColorBlue"],
	//[1, "bandit.sqf", 		"Bandit Trader", 				"ColorRed"],
	[1, "roaming.sqf",		"Roaming Trader",				"ColorOrange"]
	//[2, "general.sqf", 		"General/Building Traders", 	"ColorGreen"],
	//[2, "helicopters.sqf", 	"Helicopters", 					"ColorYellow"],
	//[3, "medical.sqf", 		"Medical Trader", 				"ColorGreen"],
	//[2, "vehicles.sqf", 	"Vehicle Trader", 				"ColorYellow"],
	//[3, "weapons.sqf", 		"Weapons Trader", 				"ColorYellow"],
	//[3, "wholesaler.sqf", 	"Wholesaler", 					"ColorBlack"],
	//[2, "boat.sqf", 		"Boat", 						"ColorBlack"]
]; 

Make sure the first number is set to 1. This is how many traders of this type spawn.

Link to comment
Share on other sites

  • 0
22 minutes ago, Saije said:

was there a post you followed to set up the Roaming traders inventory ? (items for sale,prices and such)
maybe you could link me to it?

 

Below are the steps I did to get the trader to sell what I want.

Spoiler

 

I made my new trader in my server_traders.sqf like this:


// Foreign Trader (Roaming)
menu_Profiteer1 = [[
	["Special Weapons",1010],
	["Special Ammo",1011],
	["Special Vehicles",1012],
	["Vehicle Ammo",1013],
	["Other",1014]],
	[],"neutral"];

Then I made a new file in my traders category file called Foreign.hpp and had it set up like this:


//Special Weapons
class Category_1010 {
	class USSR_cheytacM200 {type = "trade_weapons";buy[] = {75000,"Coins"};sell[] = {30000,"Coins"};};
};
//Special Ammo
class Category_1011 {
	class USSR_5Rnd_408 {type = "trade_items";buy[] = {5000,"Coins"};sell[] = {2000,"Coins"};};
};
//Special Vehicles
class Category_1012 {
	class BTR60_TK_EP1 {type = "trade_any_vehicle";buy[] = {200000,"Coins"};sell[] = {100000,"Coins"};};
};
//Vehicle Ammo
class Category_1013 {
	class 100Rnd_762x54_PK {type = "trade_items";buy[] = {200,"Coins"};sell[] = {100,"Coins"};};
};
//Other
class Category_1014 {
	class ItemHotwireKit {type = "trade_items";buy[] = {40000,"Coins"};sell[] = {20000,"Coins"};};
};

I then went into my cfgServerTraders.hpp and added the Foreign.hpp file at the bottom of the list:


#include "Category\Foreign.hpp"

 

 

 

If you need anymore help shoot me a pm I'd be more than happy to help!

Link to comment
Share on other sites

  • 0
21 minutes ago, Saije said:

oh, this is for an overpoch server yeah? in your hpp, i can just replace the items with epoch ones yeah?

Also, I need to enable Cfgtraders first too ?

Yes, enable cfg traders, they're much better than database ones. And you got it, just use Epoch items and it'll work fine. I only left them there to give an example of how it's set up.

Link to comment
Share on other sites

  • 0

@Pavillin  I am coming up with this error when i try to log into the server: File mpmissions\DayZ_Epoch_11.Chernarus\description.ext, Line 167:/CfgTraderCategory_1010/Category_1011/: Missing '}'

Here is my description.ext

Spoiler

respawn = "BASE";
respawndelay = 5;
onLoadMission= "DayZ Epoch Chernarus";
OnLoadIntro = "Welcome to DayZ Epoch Chernarus";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,2,6};
enableItemsDropping = 0;
#include "loot\CfgBuildingLoot.hpp"

briefing = 0;
debriefing = 0;

onPauseScript = "";
loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa";

class Header
{
 gameType = COOP;            //DM, Team, Coop, ...
 minPlayers = 1;             //min # of players the mission supports
 maxPlayers = 100;            //Max # of players the mission supports
};

aiKills = 1;
diagRadio = 1;
diagHit = 1;

class RscText
{
    type = 0;
    idc = -1;
    x = 0;
    y = 0;
    h = 0.037;
    w = 0.3;
    style = 0x100;
    font = Zeppelin32;
    SizeEx = 0.03921;
    colorText[] = {1,1,1,1};
    colorBackground[] = {0, 0, 0, 0};
    linespacing = 1;
};
class RscPicture
{
    access=0;
    type=0;
    idc=-1;
    style=48;
    colorBackground[]={0,0,0,0};
    colorText[]={1,1,1,1};
    font="TahomaB";
    sizeEx=0;
    lineSpacing=0;
    text="";
};
class RscLoadingText : RscText
{
    style = 2;
    x = 0.323532;
    y = 0.666672;
    w = 0.352944;
    h = 0.039216;
    sizeEx = 0.03921;
    colorText[] = {0.543,0.5742,0.4102,1.0};
};
class RscProgress
{
    x = 0.344;
    y = 0.619;
    w = 0.313726;
    h = 0.0261438;
    texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
    colorFrame[] = {0,0,0,0};
    colorBar[] = {1,1,1,1};
};
class RscProgressNotFreeze
{
    idc = -1;
    type = 45;
    style = 0;
    x = 0.022059;
    y = 0.911772;
    w = 0.029412;
    h = 0.039216;
    texture = "#(argb,8,8,3)color(0,0,0,0)";
};
//
// the loading screen itself
//
class CfgSounds
{
    sounds[] =
    {
        Radio_Message_Sound
    };
    class Radio_Message_Sound
    {
        name = "Radio_Message_Sound";
        sound[] = {custom\remote\radio.ogg,0.4,1};
        titles[] = {};
    };
};
class DayZ_loadingScreen
{
    idd = -1;
    duration = 10e10;
    fadein = 0;
    fadeout = 0;
    name = "loading screen";
    class controlsBackground
    {
        class blackBG : RscText
        {
            x = safezoneX;
            y = safezoneY;
            w = safezoneW;
            h = safezoneH;
            text = "";
            colorText[] = {0,0,0,0};
            colorBackground[] = {0,0,0,1};
        };
        /*
        class nicePic : RscPicture
        {
            style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO
            x = safezoneX + safezoneW/2 - 0.25;
            y = safezoneY + safezoneH/2 - 0.2;
            w = 0.5;
            h = 0.4;
            text = "img\nicePic.paa";
        };
        */
    };
    class controls
    {
        class Title1 : RscLoadingText
        {
            text = "$STR_LOADING"; // "Loading" text in the middle of the screen
        };
        class CA_Progress : RscProgress // progress bar, has to have idc 104
        {
            idc = 104;
            type = 8; // CT_PROGRESS
            style = 0; // ST_SINGLE
            texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
        };
        class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse
        {
            idc = 103;
        };
        class Name2: RscText // the text on the top-left
        {
            idc = 101;
            x = 0.05;
            y = 0.029412;
            w = 0.9;
            h = 0.04902;
            text = "";
            sizeEx = 0.05;
            colorText[] = {0.543,0.5742,0.4102,1.0};
        };
    };
};
#include "dzgm\defines.hpp"
class RscTitles
{
    #include "dzgm\icons.hpp"
};
#include "zupa\advancedTrading\ZSCdefines.hpp"
#include "zupa\advancedTrading\advancedTrading.hpp"
#include "spawn\class.hpp"
#include "spawn\halo.hpp"
#include "spawn\spawn.hpp"
#include "custom\snap_pro\snappoints.hpp"
#include "dzgm\groupManagement.hpp"
#include "custom\traders\cfgServerTrader.hpp" //Config Trader

And here is my  server_traders.sqf

Spoiler

// DayZ Epoch TRADERS for 11
serverTraders = ["TK_Commander_EP1_DZ","RU_Functionary1","RU_Citizen3","Rocker4","Profiteer4","Rita_Ensler_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","TK_GUE_Soldier_5_EP1","GUE_Soldier_MG","Worker2","Worker3","Woodlander1","UN_CDF_Soldier_Pilot_EP1","RU_WorkWoman1","Dr_Annie_Baker_EP1","RU_Citizen4","RU_WorkWoman5","RU_Citizen1","RU_Villager3","TK_CIV_Takistani04_EP1","Pilot_EP1","RU_Profiteer4","Woodlander3","Dr_Hladik_EP1","Doctor","HouseWife1","GUE_Woodlander2"];
// Hero Vendor
menu_RU_Functionary1 = [
    [["Ammunition",478],["Clothes",476],["Helicopter Armed",493],["Military Armed",562],["Trucks Armed",479],["Weapons",477]],
    [],
    "hero"
];
// Ammunition Friendly
menu_RU_Citizen3 = [
    [["Assault Rifle Ammo",480],["Light Machine Gun Ammo",481],["Pistol Ammo",484],["Shotguns and Single-shot Ammo",573],["Sniper Rifle Ammo",482],["Submachine Gun Ammo",483]],
    [],
    "friendly"
];
// Weapons Friendly
menu_Rocker4 = [
    [["Assault Rifle",485],["Light Machine Gun",486],["Pistols",489],["Shotguns and Single-shot",574],["Sniper Rifle",487],["Submachine Guns",488]],
    [],
    "friendly"
];
// Friendly Vehicles
menu_Profiteer4 = [
    [["Bikes and ATV",608],["Buses and Vans",563],["Cargo Trucks",564],["Fuel Trucks",492],["Military Unarmed",491],["Trucks",495],["Used Cars",585],["Utility Vehicles",565]],
    [],
    "friendly"
];
// General Store
menu_Rita_Ensler_EP1 = [
    [["Backpacks",496],["Clothes",497],["Cooked Meats",580],["Drinks",498],["Packaged Food",579]],
    [["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Whiskey Bottle","Tin Bar",101]],
    "neutral"
];
// Weapons neutral
menu_CIV_EuroMan01_EP1 = [
    [["Assault Rifle",602],["Light Machine Gun",603],["Pistols",606],["Shotguns and Single-shot",607],["Sniper Rifle",605],["Submachine Guns",604]],
    [],
    "neutral"
];
// Ammunition Neutral
menu_CIV_EuroMan02_EP1 = [
    [["Assault Rifle Ammo",609],["Light Machine Gun Ammo",610],["Pistol Ammo",611],["Shotguns and Single-shot Ammo",613],["Sniper Rifle Ammo",614],["Submachine Gun Ammo",612]],
    [],
    "neutral"
];
// Neutral Building/Parts
menu_TK_GUE_Soldier_5_EP1 = [
    [["Building Supplies",508],["Toolbelt Items",510],["Vehicle Parts",509]],
    [],
    "neutral"
];
// Bandit Trader
menu_GUE_Soldier_MG = [
    [["Ammunition",577],["Clothing",575],["Helicopter Armed",512],["Military Armed",569],["Trucks Armed",534],["Weapons",627]],
    [],
    "hostile"
];
// Aircraft Dealer
menu_Worker2 = [
    [["Airplanes",517],["Helicopter Unarmed",519]],
    [],
    "neutral"
];
// Vehicles Neutral
menu_Worker3 = [
    [["Bikes and ATV",587],["Buses and Vans",588],["Cargo Trucks",586],["Fuel Trucks",589],["Military Unarmed",598],["Trucks",590],["Used Cars",520],["Utility Vehicles",591]],
    [],
    "neutral"
];
// Friendly Building/Parts
menu_Woodlander1 = [
    [["Building Supplies",530],["Toolbelt Items",532],["Vehicle Parts",531]],
    [],
    "friendly"
];
// Friendly Vehicles 2
menu_UN_CDF_Soldier_Pilot_EP1 = [
    [["Bikes and ATV",536],["Buses and Vans",592],["Cargo Trucks",570],["Fuel Trucks",595],["Military Unarmed",599],["Trucks Unarmed",535],["Used Cars",600],["Utility Vehicles",568]],
    [],
    "friendly"
];
// General Store 2
menu_RU_WorkWoman1 = [
    [["Backpacks",538],["Clothes",628],["Cooked Meats",630],["Drinks",601],["Packaged Food",629]],
    [["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Whiskey Bottle","Tin Bar",101]],
    "friendly"
];
// Medical Supplies
menu_Dr_Annie_Baker_EP1 = [
    [["Chem-lites/Flares",542],["Medical Supplies",541],["Smoke Grenades",543]],
    [["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
    "friendly"
];
// East Wholesaler
menu_RU_Citizen4 = [
    [["Wholesale",555]],
    [],
    "neutral"
];
// General Store 3
menu_RU_WorkWoman5 = [
    [["Backpacks",632],["Clothes",631],["Cooked Meats",634],["Drinks",633],["Packaged Food",635]],
    [["ItemTinBar","TrashJackDaniels",1,1,"buy","Empty Whiskey Bottle","Tin Bar",101]],
    "neutral"
];
// West Wholesaler
menu_RU_Citizen1 = [
    [["Wholesale",636]],
    [],
    "neutral"
];
// Boat Vendor
menu_RU_Villager3 = [
    [["Boats Armed",558],["Boats Unarmed",557]],
    [],
    "neutral"
];
// Weapons neutral 2
menu_TK_CIV_Takistani04_EP1 = [
    [["Assault Rifle",637],["Light Machine Gun",638],["Pistols",674],["Shotguns and Single-shot",641],["Sniper Rifle",640],["Submachine Guns",642]],
    [],
    "neutral"
];
// Ammunition Neutral 2
menu_Pilot_EP1 = [
    [["Assault Rifle Ammo",643],["Light Machine Gun Ammo",644],["Pistol Ammo",646],["Shotguns and Single-shot Ammo",649],["Sniper Rifle Ammo",647],["Submachine Gun Ammo",648]],
    [],
    "neutral"
];
// Vehicles Neutral 2
menu_RU_Profiteer4 = [
    [["Bikes and ATV",650],["Buses and Vans",651],["Cargo Trucks",653],["Fuel Trucks",655],["Military Unarmed",658],["Trucks",659],["Used Cars",660],["Utility Vehicles",661]],
    [],
    "neutral"
];
// Neutral Building/Parts
menu_Woodlander3 = [
    [["Building Supplies",662],["Toolbelt Items",663],["Vehicle Parts",664]],
    [],
    "neutral"
];
// Medical Supplies 2
menu_Dr_Hladik_EP1 = [
    [["Chem-lites/Flares",666],["Medical Supplies",665],["Smoke Grenades",668]],
    [["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
    "neutral"
];
// Medical Supplies 3
menu_Doctor = [
    [["Chem-lites/Flares",669],["Medical Supplies",670],["Smoke Grenades",671]],
    [["FoodBioMeat","ItemZombieParts",1,1,"buy","Zombie Parts","Bio Meat",101]],
    "neutral"
];
// Boat Trader 2
menu_HouseWife1 = [
    [["Boats Armed",673],["Boats Unarmed",672]],
    [],
    "neutral"
];
// Black market
menu_GUE_Woodlander2 = [
    [["Black Market Ammo",527],["Black Market Weapons",526],["Explosives",529]],
    [],
    "neutral"
];
// Foreign Trader (Nomad)
menu_TK_Commander_EP1_DZ = [
    ["Nomad Weapons",1010],
    ["Nomad Ammo",1011],
    ["Nomad Vehicles",1012],
    ["Nomad Air",1013],
    ["Other",1014]],
    [],"neutral"];
];    

 

My Foreign.hpp

Spoiler

//Nomad Weapons
class Category_1010 {
    class DMR_DZ {
        type = "trade_weapons";
        buy[] = {8,"ItemGoldBar10oz"};
        sell[] = {4,"ItemGoldBar10oz"};
    };
    class BAF_L85A2_RIS_CWS {
        type = "trade_weapons";
        buy[] ={6,"ItemGoldBar10oz"};
        sell[] ={3,"ItemGoldBar10oz"};
    };
    class M110_NVG_EP1 {
        type = "trade_weapons";
        buy[] = {1,"ItemBriefcase100oz"};
        sell[] = {6,"ItemGoldBar10oz"};
    };
    class BAF_AS50_scoped_DZ {
        type = "trade_weapons";
        buy[] = {10,"ItemBriefcase100oz"};
        sell[] = {5,"ItemBriefcase100oz"};
    };
    class M4A3_RCO_GL_EP1 {
        type = "trade_weapons";
        buy[] = {6,"ItemGoldBar10oz"};
        sell[] = {3,"ItemGoldBar10oz"};
    };
    class SCAR_L_STD_EGLM_RCO  {
        type = "trade_weapons";
        buy[] = {1,"ItemBriefcase100oz"};
        sell[] = {5,"ItemGoldBar10oz"};
    };
    class SCAR_H_STD_EGLM_Spect {
        type = "trade_weapons";
        buy[] = {1,"ItemBriefcase100oz"};
        sell[] = {5,"ItemGoldBar10oz"};
    };
    class SCAR_H_LNG_Sniper  {
        type = "trade_weapons";
        buy[] = {1,"ItemBriefcase100oz"};
        sell[] = {5,"ItemGoldBar10oz"};
    };
    class AA12_PMC  {
        type = "trade_weapons";
        buy[] = {3,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class M32_EP1 {
        type = "trade_weapons";
        buy[] = {4,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class DMR {
        type = "trade_weapons";
        buy[] = {8,"ItemGoldBar10oz"};
        sell[] = {4,"ItemGoldBar10oz"};
    };
    class KSVK_DZE {
        type = "trade_weapons";
        buy[] = {3,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class BAF_AS50_TWS {
        type = "trade_weapons_old";
        buy[] ={6,"ItemRuby"};
        sell[] ={2,"ItemRuby"};
    };
    class M107_TWS_EP1 {
        type = "trade_weapons_old";
        buy[] ={4,"ItemRuby"};
        sell[] ={1,"ItemRuby"};
    };
    class M110_TWS_EP1 {
        type = "trade_weapons_old";
        buy[] ={3,"ItemRuby"};
        sell[] ={1,"ItemRuby"};
    };
    class SCAR_L_STD_EGLM_TWS {
        type = "trade_weapons_old";
        buy[] ={2,"ItemRuby"};
        sell[] ={1,"ItemRuby"};
    };
    class RPG7V {
        type = "trade_weapons_old";
        buy[] ={2,"ItemRuby"};
        sell[] ={1,"ItemRuby"};
    };
    class Stinger {
        type = "trade_weapons_old";
        buy[] ={8,"ItemRuby"};
        sell[] ={3,"ItemRuby"};
    };

    class MAAWS {
        type = "trade_weapons_old";
        buy[] ={3,"ItemRuby"};
        sell[] ={1,"ItemRuby"};
    };
};
//Nomad Ammo
class Category_1011 {
    class 30Rnd_556x45_Stanag {
        type = "trade_items";
        buy[] = {4,"ItemSilverBar10oz"};
        sell[] = {2,"ItemSilverBar10oz"};
    };
    class 5Rnd_86x70_L115A1 {
        type = "trade_items";
        buy[] = {8,"ItemGoldBar"};
        sell[] = {2,"ItemGoldBar"};
    };
    class 100Rnd_762x51_M240 {
        type = "trade_items";
        buy[] = {2,"ItemGoldBar"};
        sell[] = {1,"ItemGoldBar"};
    };
    class 100Rnd_762x54_PK   {
        type = "trade_items";
        buy[] = {2,"itemGoldBar"};
        sell[] = {1,"ItemGoldBar"};
    };
    class 20Rnd_762x51_B_SCAR {
        type = "trade_items";
        buy[] = {2,"ItemGoldBar"};
        sell[] = {1,"ItemGoldBar"};
    };
    class 20Rnd_762x51_DMR{
        type = "trade_items";
        buy[] = {4,"ItemGoldBar"};
        sell[] = {2,"ItemSilverBar10oz"};
    };
    class 5Rnd_762x51_M24 {
        type = "trade_items";
        buy[] = {4,"ItemSilverBar10oz"};
        sell[] = {2,"ItemSilverBar10oz"};
    };
    class 20Rnd_B_AA12_Pellets {
        type = "trade_items";
        buy[] = {8,"ItemGoldBar"};
        sell[] = {4,"ItemGoldBar"};
    };
    class 20Rnd_B_AA12_74Slug {
        type = "trade_items";
        buy[] = {1,"ItemGoldBar10oz"};
        sell[] = {5,"ItemGoldBar"};
    };
    class 5Rnd_127X99_as50 {
        type = "trade_items";
        buy[] = {10,"ItemGoldBar10oz"};
        sell[] = {5,"ItemGoldBar10oz"};
    };
    class 10Rnd_127X99_m107 {
        type = "trade_items";
        buy[] = {6,"ItemGoldBar10oz"};
        sell[] = {3,"ItemGoldBar10oz"};
    };
    class 6Rnd_HE_M203 {
        type = "trade_items";
        buy[] ={8,"ItemGoldBar"};
        sell[] ={4,"ItemGoldBar"};
    };
    class 6Rnd_FlareWhite_M203 {
        type = "trade_items";
        buy[] = {5,"ItemSilverBar10oz"};
        sell[] = {2,"ItemSilverBar10oz"};
    };
    class 6Rnd_FlareGreen_M203 {
        type = "trade_items";
        buy[] = {5,"ItemSilverBar10oz"};
        sell[] = {2,"ItemSilverBar10oz"};
    };
    class 6Rnd_FlareRed_M203 {
        type = "trade_items";
        buy[] = {5,"ItemSilverBar10oz"};
        sell[] = {2,"ItemSilverBar10oz"};
    };
    class 6Rnd_FlareYellow_M203 {
        type = "trade_items";
        buy[] = {5,"ItemSilverBar10oz"};
        sell[] = {2,"ItemSilverBar10oz"};
    };
    class 20Rnd_B_AA12_HE {
        type = "trade_items";
        buy[] ={1,"ItemBriefcase100oz"};
        sell[] ={5,"ItemGoldBar10oz"};
    };
    class 5Rnd_127x108_KSVK {
        type = "trade_items";
        buy[] = {6,"ItemGoldBar"};
        sell[] = {1,"ItemGoldBar"};
    };
    class PG7V {
        type = "trade_items";
        buy[] ={8,"ItemBriefcase100oz"};
        sell[] ={4,"ItemBriefcase100oz"};
    };
    class Stinger {
        type = "trade_items";
        buy[] ={12,"ItemBriefcase100oz"};
        sell[] ={6,"ItemBriefcase100oz"};
    };

    class MAAWS_HEAT {
        type = "trade_items";
        buy[] ={10,"ItemBriefcase100oz"};
        sell[] ={5,"ItemBriefcase100oz"};
    };
    class MAAWS_HEDP {
        type = "trade_items";
        buy[] ={9,"ItemBriefcase100oz"};
        sell[] ={4,"ItemBriefcase100oz"};
    };
    class HandGrenade_west {
        type = "trade_items";
        buy[] = {4,"ItemGoldBar"};
        sell[] = {2,"ItemGoldBar"};
    };
    class PipeBomb {
        type = "trade_items";
        buy[] ={2,"ItemBriefcase100oz"};
        sell[] ={1,"ItemBriefcase100oz"};
    };
    class 1Rnd_HE_M203 {
        type = "trade_items";
        buy[] = {4,"ItemGoldBar"};
        sell[] = {2,"ItemGoldBar"};
    };
    class HandGrenade_east {
        type = "trade_items";
        buy[] = {4,"ItemGoldBar"};
        sell[] = {2,"ItemGoldBar"};
    };
};
//Nomad Vehicles
    class ArmoredSUV_PMC_DZE {
        type = "trade_any_vehicle";
        buy[] ={8,"ItemBriefcase100oz"};
        sell[] ={2,"ItemBriefcase100oz"};
    };
    class HMMWV_M1151_M2_CZ_DES_EP1_DZE {
        type = "trade_any_vehicle";
        buy[] ={4,"ItemBriefcase100oz"};
        sell[] ={1,"ItemBriefcase100oz"};
    };
    class BAF_Jackal2_GMG_W  {
        type = "trade_any_vehicle";
        buy[] ={5,"ItemBriefcase100oz"};
        sell[] ={2,"ItemBriefcase100oz"};
    };
    class BAF_Jackal2_L2A1_W  {
        type = "trade_any_vehicle";
        buy[] ={5,"ItemBriefcase100oz"};
        sell[] ={2,"ItemBriefcase100oz"};
    };
    class BAF_Jackal2_GMG_D {
        type = "trade_any_vehicle";
        buy[] ={5,"ItemBriefcase100oz"};
        sell[] ={2,"ItemBriefcase100oz"};
    };
    class BAF_Jackal2_L2A1_D {
        type = "trade_any_vehicle";
        buy[] ={5,"ItemBriefcase100oz"};
        sell[] ={2,"ItemBriefcase100oz"};
    };
    class BMP2_Ambul_INS {
        type = "trade_any_vehicle_old";
        buy[] ={3,"ItemRuby"};
        sell[] ={1,"ItemRuby"};
    };
    class HMMWV_Armored {
        type = "trade_any_vehicle";
        buy[] ={3,"ItemBriefcase100oz"};
        sell[] ={1,"ItemBriefcase100oz"};
    };
    class M113_TK_EP1 {
        type = "trade_any_vehicle_old";
        buy[] ={2,"ItemRuby"};
        sell[] ={1,"ItemRuby"};
    };
    class M113_UN_EP1 {
        type = "trade_any_vehicle_old";
        buy[] ={2,"ItemRuby"};
        sell[] ={1,"ItemRuby"};
    };
    class M113Ambul_UN_EP1 {
        type = "trade_any_vehicle";
        buy[] ={7,"ItemBriefcase100oz"};
        sell[] ={3,"ItemBriefcase100oz"};
    };
    class M113Ambul_TK_EP1 {
        type = "trade_any_vehicle";
        buy[] ={7,"ItemBriefcase100oz"};
        sell[] ={3,"ItemBriefcase100oz"};
    };
};
//Nomad Air
class CH_47F_EP1_DZE {
        type = "trade_any_vehicle";
        buy[] = {4,"ItemBriefcase100oz"};
        sell[] = {2,"ItemBriefcase100oz"};
    };
    class UH1H_DZE {
        type = "trade_any_vehicle";
        buy[] = {2,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class Mi17_DZE {
        type = "trade_any_vehicle";
        buy[] = {2,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class Mi17_CDF {
        type = "trade_any_vehicle";
        buy[] = {2,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class Mi17_Ins {
        type = "trade_any_vehicle";
        buy[] = {2,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class UH60M_EP1_DZE {
        type = "trade_any_vehicle";
        buy[] = {4,"ItemBriefcase100oz"};
        sell[] = {2,"ItemBriefcase100oz"};
    };
    class UH1Y_DZE {
        type = "trade_any_vehicle";
        buy[] = {2,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class MH60S_DZE {
        type = "trade_any_vehicle";
        buy[] = {2,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class MH6J_DZ {
        type = "trade_any_vehicle";
        buy[] = {4,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
};
//Other
class Category_1014 {
    class Skin_GUE_Soldier_Sniper_DZ {
        type = "trade_items";
        buy[] = {2,"ItemGoldBar"};
        sell[] = {1,"ItemGoldBar"};
    };    
    class Skin_Sniper1_DZ {
        type = "trade_items";
        buy[] = {2,"ItemGoldBar"};
        sell[] = {1,"ItemGoldBar"};
    };
    class ItemRuby {
        type = "trade_items";
        buy[] = {8,"ItemBriefcase100oz"};
        sell[] = {8,"ItemBriefcase100oz"};
    };
    class ItemEmerald {
        type = "trade_items";
        buy[] = {5,"ItemBriefcase100oz"};
        sell[] = {5,"ItemBriefcase100oz"};
    };
    class ItemSapphire {
        type = "trade_items";
        buy[] = {6,"ItemBriefcase100oz"};
        sell[] = {6,"ItemBriefcase100oz"};
    };
    class ItemAmethyst {
        type = "trade_items";
        buy[] = {2,"ItemBriefcase100oz"};
        sell[] = {2,"ItemBriefcase100oz"};
    };
    class ItemObsidian {
        type = "trade_items";
        buy[] = {4,"ItemBriefcase100oz"};
        sell[] = {4,"ItemBriefcase100oz"};
    };
    class ItemTopaz {
        type = "trade_items";
        buy[] = {1,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class ItemCitrine {
        type = "trade_items";
        buy[] = {3,"ItemBriefcase100oz"};
        sell[] = {3,"ItemBriefcase100oz"};
    };    
};

 

Link to comment
Share on other sites

  • 0

Youve missed out the class categories at Nomad Vehicles and Nomad Air, so you have open } that dont corresspond to anything.

Should be..

 

//Nomad Vehicles
class Category_1012 {
    class ArmoredSUV_PMC_DZE {
        type = "trade_any_vehicle";
        buy[] ={8,"ItemBriefcase100oz"};
        sell[] ={2,"ItemBriefcase100oz"};
    };
    class HMMWV_M1151_M2_CZ_DES_EP1_DZE {
        type = "trade_any_vehicle";
        buy[] ={4,"ItemBriefcase100oz"};
        sell[] ={1,"ItemBriefcase100oz"};
    };
    class BAF_Jackal2_GMG_W  {
        type = "trade_any_vehicle";
        buy[] ={5,"ItemBriefcase100oz"};
        sell[] ={2,"ItemBriefcase100oz"};
    };
    class BAF_Jackal2_L2A1_W  {
        type = "trade_any_vehicle";
        buy[] ={5,"ItemBriefcase100oz"};
        sell[] ={2,"ItemBriefcase100oz"};
    };
    class BAF_Jackal2_GMG_D {
        type = "trade_any_vehicle";
        buy[] ={5,"ItemBriefcase100oz"};
        sell[] ={2,"ItemBriefcase100oz"};
    };
    class BAF_Jackal2_L2A1_D {
        type = "trade_any_vehicle";
        buy[] ={5,"ItemBriefcase100oz"};
        sell[] ={2,"ItemBriefcase100oz"};
    };
    class BMP2_Ambul_INS {
        type = "trade_any_vehicle_old";
        buy[] ={3,"ItemRuby"};
        sell[] ={1,"ItemRuby"};
    };
    class HMMWV_Armored {
        type = "trade_any_vehicle";
        buy[] ={3,"ItemBriefcase100oz"};
        sell[] ={1,"ItemBriefcase100oz"};
    };
    class M113_TK_EP1 {
        type = "trade_any_vehicle_old";
        buy[] ={2,"ItemRuby"};
        sell[] ={1,"ItemRuby"};
    };
    class M113_UN_EP1 {
        type = "trade_any_vehicle_old";
        buy[] ={2,"ItemRuby"};
        sell[] ={1,"ItemRuby"};
    };
    class M113Ambul_UN_EP1 {
        type = "trade_any_vehicle";
        buy[] ={7,"ItemBriefcase100oz"};
        sell[] ={3,"ItemBriefcase100oz"};
    };
    class M113Ambul_TK_EP1 {
        type = "trade_any_vehicle";
        buy[] ={7,"ItemBriefcase100oz"};
        sell[] ={3,"ItemBriefcase100oz"};
    };
};
//Nomad Air
class Category_1013 {
class CH_47F_EP1_DZE {
        type = "trade_any_vehicle";
        buy[] = {4,"ItemBriefcase100oz"};
        sell[] = {2,"ItemBriefcase100oz"};
    };
    class UH1H_DZE {
        type = "trade_any_vehicle";
        buy[] = {2,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class Mi17_DZE {
        type = "trade_any_vehicle";
        buy[] = {2,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class Mi17_CDF {
        type = "trade_any_vehicle";
        buy[] = {2,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class Mi17_Ins {
        type = "trade_any_vehicle";
        buy[] = {2,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class UH60M_EP1_DZE {
        type = "trade_any_vehicle";
        buy[] = {4,"ItemBriefcase100oz"};
        sell[] = {2,"ItemBriefcase100oz"};
    };
    class UH1Y_DZE {
        type = "trade_any_vehicle";
        buy[] = {2,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class MH60S_DZE {
        type = "trade_any_vehicle";
        buy[] = {2,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class MH6J_DZ {
        type = "trade_any_vehicle";
        buy[] = {4,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
};

 

Link to comment
Share on other sites

  • 0

You also have an extra  ; in your server trader after neutral"]

/ Foreign Trader (Nomad)
menu_TK_Commander_EP1_DZ = [
    ["Nomad Weapons",1010],
    ["Nomad Ammo",1011],
    ["Nomad Vehicles",1012],
    ["Nomad Air",1013],
    ["Other",1014]],
    [],"neutral"] ;
];    

Link to comment
Share on other sites

  • 0

fixed that too. still get same error... :sad:

Server trader

Spoiler

// Foreign Trader (Nomad)
menu_UN_CDF_Soldier_Pilot_EP1 = [
    ["Nomad Weapons",1010],["Nomad Ammo",1011],["Nomad Vehicles",1012],["Nomad Air",803],["Other",1014]],
    [],
    "neutral"
];    

 

 

Bottom of Description.ext

Spoiler

        };
    };
};
#include "dzgm\defines.hpp"
class RscTitles
{
    #include "dzgm\icons.hpp"
};
#include "zupa\advancedTrading\ZSCdefines.hpp"
#include "zupa\advancedTrading\advancedTrading.hpp"
#include "spawn\class.hpp"
#include "spawn\halo.hpp"
#include "spawn\spawn.hpp"
#include "custom\snap_pro\snappoints.hpp"
#include "dzgm\groupManagement.hpp"
#include "custom\traders\cfgServerTrader.hpp" //Config Trader

Foreign.hpp

Spoiler

//Nomad Weapons
class Category_1010 {
    class DMR_DZ {
        type = "trade_weapons";
        buy[] = {8,"ItemGoldBar10oz"};
        sell[] = {4,"ItemGoldBar10oz"};
    };
    class BAF_L85A2_RIS_CWS {
        type = "trade_weapons";
        buy[] ={6,"ItemGoldBar10oz"};
        sell[] ={3,"ItemGoldBar10oz"};
    };
    class M110_NVG_EP1 {
        type = "trade_weapons";
        buy[] = {1,"ItemBriefcase100oz"};
        sell[] = {6,"ItemGoldBar10oz"};
    };
    class BAF_AS50_scoped_DZ {
        type = "trade_weapons";
        buy[] = {10,"ItemBriefcase100oz"};
        sell[] = {5,"ItemBriefcase100oz"};
    };
    class M4A3_RCO_GL_EP1 {
        type = "trade_weapons";
        buy[] = {6,"ItemGoldBar10oz"};
        sell[] = {3,"ItemGoldBar10oz"};
    };
    class SCAR_L_STD_EGLM_RCO  {
        type = "trade_weapons";
        buy[] = {1,"ItemBriefcase100oz"};
        sell[] = {5,"ItemGoldBar10oz"};
    };
    class SCAR_H_STD_EGLM_Spect {
        type = "trade_weapons";
        buy[] = {1,"ItemBriefcase100oz"};
        sell[] = {5,"ItemGoldBar10oz"};
    };
    class SCAR_H_LNG_Sniper  {
        type = "trade_weapons";
        buy[] = {1,"ItemBriefcase100oz"};
        sell[] = {5,"ItemGoldBar10oz"};
    };
    class AA12_PMC  {
        type = "trade_weapons";
        buy[] = {3,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class M32_EP1 {
        type = "trade_weapons";
        buy[] = {4,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class DMR {
        type = "trade_weapons";
        buy[] = {8,"ItemGoldBar10oz"};
        sell[] = {4,"ItemGoldBar10oz"};
    };
    class KSVK_DZE {
        type = "trade_weapons";
        buy[] = {3,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class BAF_AS50_TWS {
        type = "trade_weapons_old";
        buy[] ={6,"ItemRuby"};
        sell[] ={2,"ItemRuby"};
    };
    class M107_TWS_EP1 {
        type = "trade_weapons_old";
        buy[] ={4,"ItemRuby"};
        sell[] ={1,"ItemRuby"};
    };
    class M110_TWS_EP1 {
        type = "trade_weapons_old";
        buy[] ={3,"ItemRuby"};
        sell[] ={1,"ItemRuby"};
    };
    class SCAR_L_STD_EGLM_TWS {
        type = "trade_weapons_old";
        buy[] ={2,"ItemRuby"};
        sell[] ={1,"ItemRuby"};
    };
    class RPG7V {
        type = "trade_weapons_old";
        buy[] ={2,"ItemRuby"};
        sell[] ={1,"ItemRuby"};
    };
    class Stinger {
        type = "trade_weapons_old";
        buy[] ={8,"ItemRuby"};
        sell[] ={3,"ItemRuby"};
    };
    class MAAWS {
        type = "trade_weapons_old";
        buy[] ={3,"ItemRuby"};
        sell[] ={1,"ItemRuby"};
    
};
//Nomad Ammo
class Category_1011 {
    class 30Rnd_556x45_Stanag {
        type = "trade_items";
        buy[] = {4,"ItemSilverBar10oz"};
        sell[] = {2,"ItemSilverBar10oz"};
    };
    class 5Rnd_86x70_L115A1 {
        type = "trade_items";
        buy[] = {8,"ItemGoldBar"};
        sell[] = {2,"ItemGoldBar"};
    };
    class 100Rnd_762x51_M240 {
        type = "trade_items";
        buy[] = {2,"ItemGoldBar"};
        sell[] = {1,"ItemGoldBar"};
    };
    class 100Rnd_762x54_PK   {
        type = "trade_items";
        buy[] = {2,"itemGoldBar"};
        sell[] = {1,"ItemGoldBar"};
    };
    class 20Rnd_762x51_B_SCAR {
        type = "trade_items";
        buy[] = {2,"ItemGoldBar"};
        sell[] = {1,"ItemGoldBar"};
    };
    class 20Rnd_762x51_DMR{
        type = "trade_items";
        buy[] = {4,"ItemGoldBar"};
        sell[] = {2,"ItemSilverBar10oz"};
    };
    class 5Rnd_762x51_M24 {
        type = "trade_items";
        buy[] = {4,"ItemSilverBar10oz"};
        sell[] = {2,"ItemSilverBar10oz"};
    };
    class 20Rnd_B_AA12_Pellets {
        type = "trade_items";
        buy[] = {8,"ItemGoldBar"};
        sell[] = {4,"ItemGoldBar"};
    };
    class 20Rnd_B_AA12_74Slug {
        type = "trade_items";
        buy[] = {1,"ItemGoldBar10oz"};
        sell[] = {5,"ItemGoldBar"};
    };
    class 5Rnd_127X99_as50 {
        type = "trade_items";
        buy[] = {10,"ItemGoldBar10oz"};
        sell[] = {5,"ItemGoldBar10oz"};
    };
    class 10Rnd_127X99_m107 {
        type = "trade_items";
        buy[] = {6,"ItemGoldBar10oz"};
        sell[] = {3,"ItemGoldBar10oz"};
    };
    class 6Rnd_HE_M203 {
        type = "trade_items";
        buy[] ={8,"ItemGoldBar"};
        sell[] ={4,"ItemGoldBar"};
    };
    class 6Rnd_FlareWhite_M203 {
        type = "trade_items";
        buy[] = {5,"ItemSilverBar10oz"};
        sell[] = {2,"ItemSilverBar10oz"};
    };
    class 6Rnd_FlareGreen_M203 {
        type = "trade_items";
        buy[] = {5,"ItemSilverBar10oz"};
        sell[] = {2,"ItemSilverBar10oz"};
    };
    class 6Rnd_FlareRed_M203 {
        type = "trade_items";
        buy[] = {5,"ItemSilverBar10oz"};
        sell[] = {2,"ItemSilverBar10oz"};
    };
    class 6Rnd_FlareYellow_M203 {
        type = "trade_items";
        buy[] = {5,"ItemSilverBar10oz"};
        sell[] = {2,"ItemSilverBar10oz"};
    };
    class 20Rnd_B_AA12_HE {
        type = "trade_items";
        buy[] ={1,"ItemBriefcase100oz"};
        sell[] ={5,"ItemGoldBar10oz"};
    };
    class 5Rnd_127x108_KSVK {
        type = "trade_items";
        buy[] = {6,"ItemGoldBar"};
        sell[] = {1,"ItemGoldBar"};
    };
    class PG7V {
        type = "trade_items";
        buy[] ={8,"ItemBriefcase100oz"};
        sell[] ={4,"ItemBriefcase100oz"};
    };
    class Stinger {
        type = "trade_items";
        buy[] ={12,"ItemBriefcase100oz"};
        sell[] ={6,"ItemBriefcase100oz"};
    };
    class MAAWS_HEAT {
        type = "trade_items";
        buy[] ={10,"ItemBriefcase100oz"};
        sell[] ={5,"ItemBriefcase100oz"};
    };
    class MAAWS_HEDP {
        type = "trade_items";
        buy[] ={9,"ItemBriefcase100oz"};
        sell[] ={4,"ItemBriefcase100oz"};
    };
    class 1Rnd_HE_M203 {
        type = "trade_items";
        buy[] = {4,"ItemGoldBar"};
        sell[] = {2,"ItemGoldBar"};
    
};
//Nomad Vehicles
class Category_1012 {
    class ArmoredSUV_PMC_DZE {
        type = "trade_any_vehicle";
        buy[] ={8,"ItemBriefcase100oz"};
        sell[] ={2,"ItemBriefcase100oz"};
    };
    class HMMWV_M1151_M2_CZ_DES_EP1_DZE {
        type = "trade_any_vehicle";
        buy[] ={4,"ItemBriefcase100oz"};
        sell[] ={1,"ItemBriefcase100oz"};
    };
    class BAF_Jackal2_GMG_W  {
        type = "trade_any_vehicle";
        buy[] ={5,"ItemBriefcase100oz"};
        sell[] ={2,"ItemBriefcase100oz"};
    };
    class BAF_Jackal2_L2A1_W  {
        type = "trade_any_vehicle";
        buy[] ={5,"ItemBriefcase100oz"};
        sell[] ={2,"ItemBriefcase100oz"};
    };
    class BAF_Jackal2_GMG_D {
        type = "trade_any_vehicle";
        buy[] ={5,"ItemBriefcase100oz"};
        sell[] ={2,"ItemBriefcase100oz"};
    };
    class BAF_Jackal2_L2A1_D {
        type = "trade_any_vehicle";
        buy[] ={5,"ItemBriefcase100oz"};
        sell[] ={2,"ItemBriefcase100oz"};
    };
    class BMP2_Ambul_INS {
        type = "trade_any_vehicle_old";
        buy[] ={3,"ItemRuby"};
        sell[] ={1,"ItemRuby"};
    };
    class HMMWV_Armored {
        type = "trade_any_vehicle";
        buy[] ={3,"ItemBriefcase100oz"};
        sell[] ={1,"ItemBriefcase100oz"};
    };
    class M113_TK_EP1 {
        type = "trade_any_vehicle_old";
        buy[] ={2,"ItemRuby"};
        sell[] ={1,"ItemRuby"};
    };
    class M113_UN_EP1 {
        type = "trade_any_vehicle_old";
        buy[] ={2,"ItemRuby"};
        sell[] ={1,"ItemRuby"};
    };
    class M113Ambul_UN_EP1 {
        type = "trade_any_vehicle";
        buy[] ={7,"ItemBriefcase100oz"};
        sell[] ={3,"ItemBriefcase100oz"};
    };
    class M113Ambul_TK_EP1 {
        type = "trade_any_vehicle";
        buy[] ={7,"ItemBriefcase100oz"};
        sell[] ={3,"ItemBriefcase100oz"};
    
};
//Nomad Air
class Category_1013 {
    class CH_47F_EP1_DZE {
        type = "trade_any_vehicle";
        buy[] = {4,"ItemBriefcase100oz"};
        sell[] = {2,"ItemBriefcase100oz"};
    };
    class UH1H_DZE {
        type = "trade_any_vehicle";
        buy[] = {2,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class Mi17_DZE {
        type = "trade_any_vehicle";
        buy[] = {2,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class Mi17_CDF {
        type = "trade_any_vehicle";
        buy[] = {2,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class Mi17_Ins {
        type = "trade_any_vehicle";
        buy[] = {2,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class UH60M_EP1_DZE {
        type = "trade_any_vehicle";
        buy[] = {4,"ItemBriefcase100oz"};
        sell[] = {2,"ItemBriefcase100oz"};
    };
    class UH1Y_DZE {
        type = "trade_any_vehicle";
        buy[] = {2,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class MH60S_DZE {
        type = "trade_any_vehicle";
        buy[] = {2,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class MH6J_DZ {
        type = "trade_any_vehicle";
        buy[] = {4,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    
};
//Other
class Category_1014 {
    class Skin_GUE_Soldier_Sniper_DZ {
        type = "trade_items";
        buy[] = {2,"ItemGoldBar"};
        sell[] = {1,"ItemGoldBar"};
    };    
    class Skin_Sniper1_DZ {
        type = "trade_items";
        buy[] = {2,"ItemGoldBar"};
        sell[] = {1,"ItemGoldBar"};
    };
    class ItemRuby {
        type = "trade_items";
        buy[] = {8,"ItemBriefcase100oz"};
        sell[] = {8,"ItemBriefcase100oz"};
    };
    class ItemEmerald {
        type = "trade_items";
        buy[] = {5,"ItemBriefcase100oz"};
        sell[] = {5,"ItemBriefcase100oz"};
    };
    class ItemSapphire {
        type = "trade_items";
        buy[] = {6,"ItemBriefcase100oz"};
        sell[] = {6,"ItemBriefcase100oz"};
    };
    class ItemAmethyst {
        type = "trade_items";
        buy[] = {2,"ItemBriefcase100oz"};
        sell[] = {2,"ItemBriefcase100oz"};
    };
    class ItemObsidian {
        type = "trade_items";
        buy[] = {4,"ItemBriefcase100oz"};
        sell[] = {4,"ItemBriefcase100oz"};
    };
    class ItemTopaz {
        type = "trade_items";
        buy[] = {1,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class ItemCitrine {
        type = "trade_items";
        buy[] = {3,"ItemBriefcase100oz"};
        sell[] = {3,"ItemBriefcase100oz"};
        
};

 

Link to comment
Share on other sites

  • 0

Also missing an }; at the end of each class group.

should be

Spoiler

//Nomad Weapons
class Category_1010 {
    class DMR_DZ {
        type = "trade_weapons";
        buy[] = {8,"ItemGoldBar10oz"};
        sell[] = {4,"ItemGoldBar10oz"};
    };
    class BAF_L85A2_RIS_CWS {
        type = "trade_weapons";
        buy[] ={6,"ItemGoldBar10oz"};
        sell[] ={3,"ItemGoldBar10oz"};
    };
    class M110_NVG_EP1 {
        type = "trade_weapons";
        buy[] = {1,"ItemBriefcase100oz"};
        sell[] = {6,"ItemGoldBar10oz"};
    };
    class BAF_AS50_scoped_DZ {
        type = "trade_weapons";
        buy[] = {10,"ItemBriefcase100oz"};
        sell[] = {5,"ItemBriefcase100oz"};
    };
    class M4A3_RCO_GL_EP1 {
        type = "trade_weapons";
        buy[] = {6,"ItemGoldBar10oz"};
        sell[] = {3,"ItemGoldBar10oz"};
    };
    class SCAR_L_STD_EGLM_RCO  {
        type = "trade_weapons";
        buy[] = {1,"ItemBriefcase100oz"};
        sell[] = {5,"ItemGoldBar10oz"};
    };
    class SCAR_H_STD_EGLM_Spect {
        type = "trade_weapons";
        buy[] = {1,"ItemBriefcase100oz"};
        sell[] = {5,"ItemGoldBar10oz"};
    };
    class SCAR_H_LNG_Sniper  {
        type = "trade_weapons";
        buy[] = {1,"ItemBriefcase100oz"};
        sell[] = {5,"ItemGoldBar10oz"};
    };
    class AA12_PMC  {
        type = "trade_weapons";
        buy[] = {3,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class M32_EP1 {
        type = "trade_weapons";
        buy[] = {4,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class DMR {
        type = "trade_weapons";
        buy[] = {8,"ItemGoldBar10oz"};
        sell[] = {4,"ItemGoldBar10oz"};
    };
    class KSVK_DZE {
        type = "trade_weapons";
        buy[] = {3,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class BAF_AS50_TWS {
        type = "trade_weapons_old";
        buy[] ={6,"ItemRuby"};
        sell[] ={2,"ItemRuby"};
    };
    class M107_TWS_EP1 {
        type = "trade_weapons_old";
        buy[] ={4,"ItemRuby"};
        sell[] ={1,"ItemRuby"};
    };
    class M110_TWS_EP1 {
        type = "trade_weapons_old";
        buy[] ={3,"ItemRuby"};
        sell[] ={1,"ItemRuby"};
    };
    class SCAR_L_STD_EGLM_TWS {
        type = "trade_weapons_old";
        buy[] ={2,"ItemRuby"};
        sell[] ={1,"ItemRuby"};
    };
    class RPG7V {
        type = "trade_weapons_old";
        buy[] ={2,"ItemRuby"};
        sell[] ={1,"ItemRuby"};
    };
    class Stinger {
        type = "trade_weapons_old";
        buy[] ={8,"ItemRuby"};
        sell[] ={3,"ItemRuby"};
    };
    class MAAWS {
        type = "trade_weapons_old";
        buy[] ={3,"ItemRuby"};
        sell[] ={1,"ItemRuby"};
    
};

};
//Nomad Ammo
class Category_1011 {
    class 30Rnd_556x45_Stanag {
        type = "trade_items";
        buy[] = {4,"ItemSilverBar10oz"};
        sell[] = {2,"ItemSilverBar10oz"};
    };
    class 5Rnd_86x70_L115A1 {
        type = "trade_items";
        buy[] = {8,"ItemGoldBar"};
        sell[] = {2,"ItemGoldBar"};
    };
    class 100Rnd_762x51_M240 {
        type = "trade_items";
        buy[] = {2,"ItemGoldBar"};
        sell[] = {1,"ItemGoldBar"};
    };
    class 100Rnd_762x54_PK   {
        type = "trade_items";
        buy[] = {2,"itemGoldBar"};
        sell[] = {1,"ItemGoldBar"};
    };
    class 20Rnd_762x51_B_SCAR {
        type = "trade_items";
        buy[] = {2,"ItemGoldBar"};
        sell[] = {1,"ItemGoldBar"};
    };
    class 20Rnd_762x51_DMR{
        type = "trade_items";
        buy[] = {4,"ItemGoldBar"};
        sell[] = {2,"ItemSilverBar10oz"};
    };
    class 5Rnd_762x51_M24 {
        type = "trade_items";
        buy[] = {4,"ItemSilverBar10oz"};
        sell[] = {2,"ItemSilverBar10oz"};
    };
    class 20Rnd_B_AA12_Pellets {
        type = "trade_items";
        buy[] = {8,"ItemGoldBar"};
        sell[] = {4,"ItemGoldBar"};
    };
    class 20Rnd_B_AA12_74Slug {
        type = "trade_items";
        buy[] = {1,"ItemGoldBar10oz"};
        sell[] = {5,"ItemGoldBar"};
    };
    class 5Rnd_127X99_as50 {
        type = "trade_items";
        buy[] = {10,"ItemGoldBar10oz"};
        sell[] = {5,"ItemGoldBar10oz"};
    };
    class 10Rnd_127X99_m107 {
        type = "trade_items";
        buy[] = {6,"ItemGoldBar10oz"};
        sell[] = {3,"ItemGoldBar10oz"};
    };
    class 6Rnd_HE_M203 {
        type = "trade_items";
        buy[] ={8,"ItemGoldBar"};
        sell[] ={4,"ItemGoldBar"};
    };
    class 6Rnd_FlareWhite_M203 {
        type = "trade_items";
        buy[] = {5,"ItemSilverBar10oz"};
        sell[] = {2,"ItemSilverBar10oz"};
    };
    class 6Rnd_FlareGreen_M203 {
        type = "trade_items";
        buy[] = {5,"ItemSilverBar10oz"};
        sell[] = {2,"ItemSilverBar10oz"};
    };
    class 6Rnd_FlareRed_M203 {
        type = "trade_items";
        buy[] = {5,"ItemSilverBar10oz"};
        sell[] = {2,"ItemSilverBar10oz"};
    };
    class 6Rnd_FlareYellow_M203 {
        type = "trade_items";
        buy[] = {5,"ItemSilverBar10oz"};
        sell[] = {2,"ItemSilverBar10oz"};
    };
    class 20Rnd_B_AA12_HE {
        type = "trade_items";
        buy[] ={1,"ItemBriefcase100oz"};
        sell[] ={5,"ItemGoldBar10oz"};
    };
    class 5Rnd_127x108_KSVK {
        type = "trade_items";
        buy[] = {6,"ItemGoldBar"};
        sell[] = {1,"ItemGoldBar"};
    };
    class PG7V {
        type = "trade_items";
        buy[] ={8,"ItemBriefcase100oz"};
        sell[] ={4,"ItemBriefcase100oz"};
    };
    class Stinger {
        type = "trade_items";
        buy[] ={12,"ItemBriefcase100oz"};
        sell[] ={6,"ItemBriefcase100oz"};
    };
    class MAAWS_HEAT {
        type = "trade_items";
        buy[] ={10,"ItemBriefcase100oz"};
        sell[] ={5,"ItemBriefcase100oz"};
    };
    class MAAWS_HEDP {
        type = "trade_items";
        buy[] ={9,"ItemBriefcase100oz"};
        sell[] ={4,"ItemBriefcase100oz"};
    };
    class 1Rnd_HE_M203 {
        type = "trade_items";
        buy[] = {4,"ItemGoldBar"};
        sell[] = {2,"ItemGoldBar"};
    
};

};
//Nomad Vehicles
class Category_1012 {
    class ArmoredSUV_PMC_DZE {
        type = "trade_any_vehicle";
        buy[] ={8,"ItemBriefcase100oz"};
        sell[] ={2,"ItemBriefcase100oz"};
    };
    class HMMWV_M1151_M2_CZ_DES_EP1_DZE {
        type = "trade_any_vehicle";
        buy[] ={4,"ItemBriefcase100oz"};
        sell[] ={1,"ItemBriefcase100oz"};
    };
    class BAF_Jackal2_GMG_W  {
        type = "trade_any_vehicle";
        buy[] ={5,"ItemBriefcase100oz"};
        sell[] ={2,"ItemBriefcase100oz"};
    };
    class BAF_Jackal2_L2A1_W  {
        type = "trade_any_vehicle";
        buy[] ={5,"ItemBriefcase100oz"};
        sell[] ={2,"ItemBriefcase100oz"};
    };
    class BAF_Jackal2_GMG_D {
        type = "trade_any_vehicle";
        buy[] ={5,"ItemBriefcase100oz"};
        sell[] ={2,"ItemBriefcase100oz"};
    };
    class BAF_Jackal2_L2A1_D {
        type = "trade_any_vehicle";
        buy[] ={5,"ItemBriefcase100oz"};
        sell[] ={2,"ItemBriefcase100oz"};
    };
    class BMP2_Ambul_INS {
        type = "trade_any_vehicle_old";
        buy[] ={3,"ItemRuby"};
        sell[] ={1,"ItemRuby"};
    };
    class HMMWV_Armored {
        type = "trade_any_vehicle";
        buy[] ={3,"ItemBriefcase100oz"};
        sell[] ={1,"ItemBriefcase100oz"};
    };
    class M113_TK_EP1 {
        type = "trade_any_vehicle_old";
        buy[] ={2,"ItemRuby"};
        sell[] ={1,"ItemRuby"};
    };
    class M113_UN_EP1 {
        type = "trade_any_vehicle_old";
        buy[] ={2,"ItemRuby"};
        sell[] ={1,"ItemRuby"};
    };
    class M113Ambul_UN_EP1 {
        type = "trade_any_vehicle";
        buy[] ={7,"ItemBriefcase100oz"};
        sell[] ={3,"ItemBriefcase100oz"};
    };
    class M113Ambul_TK_EP1 {
        type = "trade_any_vehicle";
        buy[] ={7,"ItemBriefcase100oz"};
        sell[] ={3,"ItemBriefcase100oz"};
    
};

};
//Nomad Air
class Category_1013 {
    class CH_47F_EP1_DZE {
        type = "trade_any_vehicle";
        buy[] = {4,"ItemBriefcase100oz"};
        sell[] = {2,"ItemBriefcase100oz"};
    };
    class UH1H_DZE {
        type = "trade_any_vehicle";
        buy[] = {2,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class Mi17_DZE {
        type = "trade_any_vehicle";
        buy[] = {2,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class Mi17_CDF {
        type = "trade_any_vehicle";
        buy[] = {2,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class Mi17_Ins {
        type = "trade_any_vehicle";
        buy[] = {2,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class UH60M_EP1_DZE {
        type = "trade_any_vehicle";
        buy[] = {4,"ItemBriefcase100oz"};
        sell[] = {2,"ItemBriefcase100oz"};
    };
    class UH1Y_DZE {
        type = "trade_any_vehicle";
        buy[] = {2,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class MH60S_DZE {
        type = "trade_any_vehicle";
        buy[] = {2,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class MH6J_DZ {
        type = "trade_any_vehicle";
        buy[] = {4,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    
};

};
//Other
class Category_1014 {
    class Skin_GUE_Soldier_Sniper_DZ {
        type = "trade_items";
        buy[] = {2,"ItemGoldBar"};
        sell[] = {1,"ItemGoldBar"};
    };    
    class Skin_Sniper1_DZ {
        type = "trade_items";
        buy[] = {2,"ItemGoldBar"};
        sell[] = {1,"ItemGoldBar"};
    };
    class ItemRuby {
        type = "trade_items";
        buy[] = {8,"ItemBriefcase100oz"};
        sell[] = {8,"ItemBriefcase100oz"};
    };
    class ItemEmerald {
        type = "trade_items";
        buy[] = {5,"ItemBriefcase100oz"};
        sell[] = {5,"ItemBriefcase100oz"};
    };
    class ItemSapphire {
        type = "trade_items";
        buy[] = {6,"ItemBriefcase100oz"};
        sell[] = {6,"ItemBriefcase100oz"};
    };
    class ItemAmethyst {
        type = "trade_items";
        buy[] = {2,"ItemBriefcase100oz"};
        sell[] = {2,"ItemBriefcase100oz"};
    };
    class ItemObsidian {
        type = "trade_items";
        buy[] = {4,"ItemBriefcase100oz"};
        sell[] = {4,"ItemBriefcase100oz"};
    };
    class ItemTopaz {
        type = "trade_items";
        buy[] = {1,"ItemBriefcase100oz"};
        sell[] = {1,"ItemBriefcase100oz"};
    };
    class ItemCitrine {
        type = "trade_items";
        buy[] = {3,"ItemBriefcase100oz"};
        sell[] = {3,"ItemBriefcase100oz"};
        
};

};

 

Link to comment
Share on other sites

  • 0
5 minutes ago, Saije said:

Alright. all that is fixed.... but when looking at the trader, no scroll option comes up to trade... lol

you guys wouldn't happen to know off the top of your head what that could be?

In your server_traders.sqf top line make sure you added your trader classname to the list 

Link to comment
Share on other sites

  • 0

You are using this for the trader

UN_CDF_Soldier_Pilot_EP1

 

so add it too

 

serverTraders = ["TK_Commander_EP1_DZ","RU_Functionary1","RU_Citizen3","Rocker4","Profiteer4","Rita_Ensler_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","TK_GUE_Soldier_5_EP1","GUE_Soldier_MG","Worker2","Worker3","Woodlander1","UN_CDF_Soldier_Pilot_EP1","RU_WorkWoman1","Dr_Annie_Baker_EP1","RU_Citizen4","RU_WorkWoman5","RU_Citizen1","RU_Villager3","TK_CIV_Takistani04_EP1","Pilot_EP1","RU_Profiteer4","Woodlander3","Dr_Hladik_EP1","Doctor","HouseWife1","GUE_Woodlander2"];

 

Edit.... Appears its added already.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...