[OMG]Slim

Vehicle Traders

4 posts in this topic

Is it possible to set up multiple vehicle traders with different categories in each trader? i think it was supposed to be enabled in this version, but however i set up the init player i cant get 2 traders to sell 2 different types of vehicles, for example one trader with vanilla vehicles, second one with exile vehicles OR unarmed  vehicles and armed vehicles... Ive been trying to playabout with it whole morning cant get this shit done xD Please help :)

Share this post


Link to post
Share on other sites

id like to know this too ? did you find a way to get this ? 

Share this post


Link to post
Share on other sites
Advertisement

same here i fiddled for hours and it shows me my menus i want but also the other vehciles in the none custom traders that i dont want lol

Share this post


Link to post
Share on other sites
  _trader = [
      "Exile_Trader_Vehicle",
      "WhiteHead_17",
      ["LHD_krajPaluby"],
      [12119,12655.2,0],
      320
  ]
  call ExileClient_object_trader_create;
  _trader setVariable ["ExileTraderType", "Exile_Trader_Vehicle"];

Reads from

	class Exile_Trader_Vehicle
	{
		name = "VEHICLE";
		showWeaponFilter = 0;
		categories[] =
		{
			"Cars",
			"Trucks",
			"ArmedVehicles",
			"Bikes"
		};
	};

If you make a new class in config cpp named "Exile_Trader_Derp" as long as you set that variable on the trader, that's the class it will read from for items/categories.

Share this post


Link to post
Share on other sites
Advertisement

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

  • Recently Browsing   0 members

    No registered users viewing this page.