Sign in to follow this  
enoanot

Fahrzeuge verkaufen durch Community trader?

2 posts in this topic

Ja das geht.

config.cpp

Spoiler

class CfgTraderCategories

{

class BlackMarketVehicles
 {
  name = "Armed Vehicles";
  icon = "a3\ui_f\data\gui\Rsc\RscDisplayArsenal\uniform_ca.paa";
  items[] =
  {
   "bma3_bushmaster_pws127mm_F",
   "bma3_bushmaster_unarmed_command_F",
   "BW_Dingo_Wdl",
   "BW_Dingo_Des"

  };
 };

 };

class CfgTraders
{

 class Exile_Trader_CommunityCustoms2
 {
  name = "BlackMarketVehicles";
  showWeaponFilter = 0;
  categories[] =
  {
   "BlackMarketVehicles"
  };
 };

 };

initPlayerLocal.sqf

Spoiler

///////////////////////////////////////////////////////////////////////////
// Black Market Vehicle Trader
///////////////////////////////////////////////////////////////////////////
_trader =
[
    "Exile_Trader_Vehicle",
 "Exile_Trader_CommunityCustoms2",
    "AfricanHead_02",
    ["InBaseMoves_patrolling1"],
    [9618.57,13534.5,1.10727],
    107.386
]
call ExileClient_object_trader_create;
_trader forceAddUniform "U_BG_Guerilla2_1";
_trader AddVest "V_PlateCarrierL_CTRG";
_trader AddHeadgear "H_Bandanna_camo";
_trader AddWeapon "BWA3_G36K";

///////////////////////////////////////////////////////////////////////////

 

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.