• 0
Grayz_lost

[Solved] Trader not taking pop tabs

Question

Hi ,, all traders working ok but the vehicle trader and aircraft trader , you can buy from them and vehicle spawns in but it doesnt take money off player .. and when sell vehicles it adds money to player..

any ideas any1 ? Please help 

Share this post


Link to post
Share on other sites

20 answers to this question

  • 0

Can you IN A SPOILER add your initplayerlocal please? I'm curious about this.

 

Share this post


Link to post
Share on other sites
  • 0
Spoiler
Spoiler
Spoiler

///////////////////////////////////////////////////////////////////////////////
// Static Objects
///////////////////////////////////////////////////////////////////////////////

// Taken away for now
//#include "initServer.sqf"
//ExileClientXM8IsPowerOn = true;


if (!hasInterface || isServer) exitWith {};

//Your Traders go here

///////////////////////////////////////////////////////////////////////////
// Balota Traders
///////////////////////////////////////////////////////////////////////////

_trader =
[
    "Exile_Trader_Hardware",
    "Exile_Trader_Hardware",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [5180.06,2355.46,0],
    235.191
]
call ExileClient_object_trader_create;

_trader =
[
    "Exile_Trader_Office",
    "Exile_Trader_Office",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [5173.93,2338.98,0],
    315.257
]
call ExileClient_object_trader_create;


///////////////////////////////////////////////////////////////////////////
// Stary Sobor Traders
///////////////////////////////////////////////////////////////////////////


_trader =
[
    "Exile_Trader_Vehicle",
    "Exile_Trader_Vehicle",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [6319.21,7832.72,0.540649],
    303.031
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_VehicleCustoms",
    "Exile_Trader_VehicleCustoms",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [6316.99,7827.48,0.511566],
    30.2473
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_Hardware",
    "Exile_Trader_Hardware",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [6325.44,7787.4,0.00177002],
    336.639
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_Armory",
    "Exile_Trader_Armory",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [6314.23,7787.21,0.0012207],
    12.6336
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_SpecialOperations",
    "Exile_Trader_SpecialOperations",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [6331.08,7799.59,0.00158691],
    249.975
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_WasteDump",
    "Exile_Trader_WasteDump",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [6288.24,7804.45,0.00100708],
    29.3479
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_Food",
    "Exile_Trader_Food",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [6315.08,7810.33,0.00143433],
    158.089
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_Equipment",
    "Exile_Trader_Equipment",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [6307.63,7795.12,0.0015564],
    72.0516
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_Office",
    "Exile_Trader_Office",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [6329.16,7780.77,0.283386],
    21.108
]
call ExileClient_object_trader_create;


///////////////////////////////////////////////////////////////////////////
// Bash Traders
///////////////////////////////////////////////////////////////////////////

_trader =
[
    "Exile_Trader_Armory",
    "Exile_Trader_Armory",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [4056.99,11672.7,-0.00109863],
    109.53
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_Vehicle",
    "Exile_Trader_Vehicle",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [4045.02,11659.1,0.66449],
    191.661
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_Hardware",
    "Exile_Trader_Hardware",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [4068.42,11681.9,-0.00183105],
    206.368
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_WasteDump",
    "Exile_Trader_WasteDump",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [4043.81,11666.9,-0.000732422],
    294.324
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_Food",
    "Exile_Trader_Food",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [4079.25,11676.7,-0.00192261],
    201.743
]
call ExileClient_object_trader_create;

_trader =
[
    "Exile_Trader_Equipment",
    "Exile_Trader_Equipment",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [4075.43,11678.8,-0.00186157],
    206.217
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_Office",
    "Exile_Trader_Office",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [4086.23,11665.2,0.42392],
    293.122
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_SpecialOperations",
    "Exile_Trader_SpecialOperations",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [4059.19,11677.6,-0.00125122],
    106.321
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_VehicleCustoms",
    "Exile_Trader_VehicleCustoms",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [4049.8,11657.5,0.515564],
    202.877
]
call ExileClient_object_trader_create;


///////////////////////////////////////////////////////////////////////////
// NEAF - Aircraft Trader
///////////////////////////////////////////////////////////////////////////

_trader =
[
    "Exile_Trader_Aircraft",
    "Exile_Trader_Aircraft",    
    "WhiteHead_17",
    ["HubStandingUA_idle2"],
    [12063.3,12641.5,0.0629578],
    19.8529
]
call ExileClient_object_trader_create;

_trader =
[
    "Exile_Trader_AircraftCustoms",
    "Exile_Trader_AircraftCustoms",    
    "GreekHead_A3_07",
    ["HubStandingUC_idle1"],
    [12017.8,12656.7,0.0710449],
    18.1985
]
call ExileClient_object_trader_create;

_trader =
[
    "Exile_Trader_WasteDump",
    "Exile_Trader_WasteDump",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [12042.7,12653.1,0],
    17.3713
]
call ExileClient_object_trader_create;

///////////////////////////////////////////////////////////////////////////
// Klen Traders
///////////////////////////////////////////////////////////////////////////

_trader =
[
    "Exile_Trader_Vehicle",
    "Exile_Trader_Vehicle",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [11456.7,11325.9,0.511688],
    33.3003
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_VehicleCustoms",
    "Exile_Trader_VehicleCustoms",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [11451.5,11328.2,0.537994],
    56.1632
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_Hardware",
    "Exile_Trader_Hardware",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [11476.7,11346.4,0.00143433],
    302.645
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_Armory",
    "Exile_Trader_Armory",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [11458,11347.2,0.00131226],
    122.443
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_SpecialOperations",
    "Exile_Trader_SpecialOperations",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [11461.5,11352.3,0.00137329],
    122.443
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_WasteDump",
    "Exile_Trader_WasteDump",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [11446.5,11360.2,0.00152588],
    299.591
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_Food",
    "Exile_Trader_Food",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [11467.6,11333.9,0.00131226],
    304.935
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_Equipment",
    "Exile_Trader_Equipment",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [11472.4,11340.1,0.00134277],
    302.049
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_Office",
    "Exile_Trader_Office",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [11475.5,11355.6,0.270569],
    217.514
]
call ExileClient_object_trader_create;


///////////////////////////////////////////////////////////////////////////
// Eastern Boat Trader
///////////////////////////////////////////////////////////////////////////

[
    "Exile_Trader_Boat",
    "Exile_Trader_Boat",    
    "WhiteHead_17",
    ["AidlPercMstpSnonWnonDnon_G01"],
    [13617.2,6333.93,0],
    131.939
]
call ExileClient_object_trader_create;

_trader =
[
    "Exile_Trader_WasteDump",
    "Exile_Trader_WasteDump",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [13620.8,6333.41,0],
    213.171
]
call ExileClient_object_trader_create;

[
    "Exile_Trader_Boat",
    "Exile_Trader_Boat",    
    "WhiteHead_17",
    ["AidlPercMstpSnonWnonDnon_G01"],
    [4342.4,2262.83,0],
    198.695
]
call ExileClient_object_trader_create;

_trader =
[
    "Exile_Trader_WasteDump",
    "Exile_Trader_WasteDump",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [4352.29,2258.03,0],
    184.053
]
call ExileClient_object_trader_create;

{
    private _trader = [
        _x select 0,
        _x select 4,
        ["HubStanding_idle1"],
       _x select 1,
        _x select 2
    ] call ExileClient_object_trader_create;
    _trader setVariable ["ExileTraderType", _x select 3];
} forEach _traders;


waitUntil {!isNull findDisplay 46 && !isNil 'ExileClientLoadedIn' && getPlayerUID player != ''};
uiSleep 1;
execVM "announcepay.sqf";

 

 

 

Share this post


Link to post
Share on other sites
Advertisement
  • 0
1 hour ago, Grayz_lost said:
  Hide contents
  Hide contents
  Hide contents

///////////////////////////////////////////////////////////////////////////////
// Static Objects
///////////////////////////////////////////////////////////////////////////////

// Taken away for now
//#include "initServer.sqf"
//ExileClientXM8IsPowerOn = true;


if (!hasInterface || isServer) exitWith {};

//Your Traders go here

///////////////////////////////////////////////////////////////////////////
// Balota Traders
///////////////////////////////////////////////////////////////////////////

_trader =
[
    "Exile_Trader_Hardware",
    "Exile_Trader_Hardware",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [5180.06,2355.46,0],
    235.191
]
call ExileClient_object_trader_create;

_trader =
[
    "Exile_Trader_Office",
    "Exile_Trader_Office",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [5173.93,2338.98,0],
    315.257
]
call ExileClient_object_trader_create;


///////////////////////////////////////////////////////////////////////////
// Stary Sobor Traders
///////////////////////////////////////////////////////////////////////////


_trader =
[
    "Exile_Trader_Vehicle",
    "Exile_Trader_Vehicle",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [6319.21,7832.72,0.540649],
    303.031
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_VehicleCustoms",
    "Exile_Trader_VehicleCustoms",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [6316.99,7827.48,0.511566],
    30.2473
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_Hardware",
    "Exile_Trader_Hardware",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [6325.44,7787.4,0.00177002],
    336.639
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_Armory",
    "Exile_Trader_Armory",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [6314.23,7787.21,0.0012207],
    12.6336
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_SpecialOperations",
    "Exile_Trader_SpecialOperations",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [6331.08,7799.59,0.00158691],
    249.975
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_WasteDump",
    "Exile_Trader_WasteDump",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [6288.24,7804.45,0.00100708],
    29.3479
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_Food",
    "Exile_Trader_Food",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [6315.08,7810.33,0.00143433],
    158.089
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_Equipment",
    "Exile_Trader_Equipment",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [6307.63,7795.12,0.0015564],
    72.0516
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_Office",
    "Exile_Trader_Office",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [6329.16,7780.77,0.283386],
    21.108
]
call ExileClient_object_trader_create;


///////////////////////////////////////////////////////////////////////////
// Bash Traders
///////////////////////////////////////////////////////////////////////////

_trader =
[
    "Exile_Trader_Armory",
    "Exile_Trader_Armory",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [4056.99,11672.7,-0.00109863],
    109.53
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_Vehicle",
    "Exile_Trader_Vehicle",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [4045.02,11659.1,0.66449],
    191.661
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_Hardware",
    "Exile_Trader_Hardware",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [4068.42,11681.9,-0.00183105],
    206.368
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_WasteDump",
    "Exile_Trader_WasteDump",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [4043.81,11666.9,-0.000732422],
    294.324
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_Food",
    "Exile_Trader_Food",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [4079.25,11676.7,-0.00192261],
    201.743
]
call ExileClient_object_trader_create;

_trader =
[
    "Exile_Trader_Equipment",
    "Exile_Trader_Equipment",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [4075.43,11678.8,-0.00186157],
    206.217
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_Office",
    "Exile_Trader_Office",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [4086.23,11665.2,0.42392],
    293.122
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_SpecialOperations",
    "Exile_Trader_SpecialOperations",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [4059.19,11677.6,-0.00125122],
    106.321
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_VehicleCustoms",
    "Exile_Trader_VehicleCustoms",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [4049.8,11657.5,0.515564],
    202.877
]
call ExileClient_object_trader_create;


///////////////////////////////////////////////////////////////////////////
// NEAF - Aircraft Trader
///////////////////////////////////////////////////////////////////////////

_trader =
[
    "Exile_Trader_Aircraft",
    "Exile_Trader_Aircraft",    
    "WhiteHead_17",
    ["HubStandingUA_idle2"],
    [12063.3,12641.5,0.0629578],
    19.8529
]
call ExileClient_object_trader_create;

_trader =
[
    "Exile_Trader_AircraftCustoms",
    "Exile_Trader_AircraftCustoms",    
    "GreekHead_A3_07",
    ["HubStandingUC_idle1"],
    [12017.8,12656.7,0.0710449],
    18.1985
]
call ExileClient_object_trader_create;

_trader =
[
    "Exile_Trader_WasteDump",
    "Exile_Trader_WasteDump",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [12042.7,12653.1,0],
    17.3713
]
call ExileClient_object_trader_create;

///////////////////////////////////////////////////////////////////////////
// Klen Traders
///////////////////////////////////////////////////////////////////////////

_trader =
[
    "Exile_Trader_Vehicle",
    "Exile_Trader_Vehicle",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [11456.7,11325.9,0.511688],
    33.3003
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_VehicleCustoms",
    "Exile_Trader_VehicleCustoms",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [11451.5,11328.2,0.537994],
    56.1632
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_Hardware",
    "Exile_Trader_Hardware",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [11476.7,11346.4,0.00143433],
    302.645
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_Armory",
    "Exile_Trader_Armory",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [11458,11347.2,0.00131226],
    122.443
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_SpecialOperations",
    "Exile_Trader_SpecialOperations",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [11461.5,11352.3,0.00137329],
    122.443
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_WasteDump",
    "Exile_Trader_WasteDump",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [11446.5,11360.2,0.00152588],
    299.591
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_Food",
    "Exile_Trader_Food",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [11467.6,11333.9,0.00131226],
    304.935
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_Equipment",
    "Exile_Trader_Equipment",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [11472.4,11340.1,0.00134277],
    302.049
]
call ExileClient_object_trader_create;


_trader =
[
    "Exile_Trader_Office",
    "Exile_Trader_Office",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [11475.5,11355.6,0.270569],
    217.514
]
call ExileClient_object_trader_create;


///////////////////////////////////////////////////////////////////////////
// Eastern Boat Trader
///////////////////////////////////////////////////////////////////////////

[
    "Exile_Trader_Boat",
    "Exile_Trader_Boat",    
    "WhiteHead_17",
    ["AidlPercMstpSnonWnonDnon_G01"],
    [13617.2,6333.93,0],
    131.939
]
call ExileClient_object_trader_create;

_trader =
[
    "Exile_Trader_WasteDump",
    "Exile_Trader_WasteDump",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [13620.8,6333.41,0],
    213.171
]
call ExileClient_object_trader_create;

[
    "Exile_Trader_Boat",
    "Exile_Trader_Boat",    
    "WhiteHead_17",
    ["AidlPercMstpSnonWnonDnon_G01"],
    [4342.4,2262.83,0],
    198.695
]
call ExileClient_object_trader_create;

_trader =
[
    "Exile_Trader_WasteDump",
    "Exile_Trader_WasteDump",    
    "WhiteHead_11",
    ["HubStandingUA_move1", "HubStandingUA_move2", "HubStandingUA_idle1", "HubStandingUA_idle2", "HubStandingUA_idle3"],
    [4352.29,2258.03,0],
    184.053
]
call ExileClient_object_trader_create;

{
    private _trader = [
        _x select 0,
        _x select 4,
        ["HubStanding_idle1"],
       _x select 1,
        _x select 2
    ] call ExileClient_object_trader_create;
    _trader setVariable ["ExileTraderType", _x select 3];
} forEach _traders;


waitUntil {!isNull findDisplay 46 && !isNil 'ExileClientLoadedIn' && getPlayerUID player != ''};
uiSleep 1;
execVM "announcepay.sqf";

 

 

 

only thing that I notice is your boat traders are missing the _Trader = but that just would mean nothing below would spawn:


 ///////////////////////////////////////////////////////////////////////////
// Eastern Boat Trader
///////////////////////////////////////////////////////////////////////////

[
    "Exile_Trader_Boat",
    "Exile_Trader_Boat",    
    "WhiteHead_17",
    ["AidlPercMstpSnonWnonDnon_G01"],
    [13617.2,6333.93,0],
    131.939
]
call ExileClient_object_trader_create;

What is that thing "announce" at the end of the file? I will almost its something to do with that.

try the stock exile setup without the bells and whisltes and see.

 

Share this post


Link to post
Share on other sites
  • 0

Ah yeah .. ill add the _trader in now ... the announce just tell player when to pay for territory when they log in .. worked before update not checked that working now

Share this post


Link to post
Share on other sites
  • 0

The traders dont take money off player when you buy vehicles but when you sell them it then takes money away then adds the sale price to money .. it just doesnt take money away at time of  purchase 

Share this post


Link to post
Share on other sites
  • 0
40 minutes ago, GamersRoost said:

only thing that I notice is your boat traders are missing the _Trader = but that just would mean nothing below would spawn:


 ///////////////////////////////////////////////////////////////////////////
// Eastern Boat Trader
///////////////////////////////////////////////////////////////////////////

[
    "Exile_Trader_Boat",
    "Exile_Trader_Boat",    
    "WhiteHead_17",
    ["AidlPercMstpSnonWnonDnon_G01"],
    [13617.2,6333.93,0],
    131.939
]
call ExileClient_object_trader_create;

What is that thing "announce" at the end of the file? I will almost its something to do with that.

try the stock exile setup without the bells and whisltes and see.

 

incorrect.

[] call something

if the script returns something like an object to set a variable on it (like it used to) it would be

_trader = [] call something;

_trader setVariable ["TradeWithMe", true];

But since you don't really need _trader, thus it's not needed.

Also, it probably has nothing to do with the "announcepay", it probably has nothing to do with initPlayerLocal

And please if you don't know what you are doing, just don't comment at all.

1 hour ago, Grayz_lost said:

Hi ,, all traders working ok but the vehicle trader and aircraft trader , you can buy from them and vehicle spawns in but it doesnt take money off player .. and when sell vehicles it adds money to player..

any ideas any1 ? Please help 

May you please provide us with a RPT, and tell us if you are using any overrides ( CfgExileCustomCode inside config.cpp ) and if you get any error messages or not.

Share this post


Link to post
Share on other sites
  • 0
1 hour ago, StokesMagee said:

incorrect.

[] call something

if the script returns something like an object to set a variable on it (like it used to) it would be

_trader = [] call something;

_trader setVariable ["TradeWithMe", true, true];

But since you don't really need _trader, thus it's not needed.

And please if you don't know what you are doing, just don't comment at all.

May you please provide us with a RPT, and tell us if you are using any overrides ( CfgExileCustomCode inside config.cpp ) 

Are you that egotistical?

I have helped countless people on this forum.

This is an od one and no one had answered in 5 hours.

How dare you .... Moderator? Are you joking ?

 

Share this post


Link to post
Share on other sites
  • 0

Posted (edited)

50 minutes ago, GamersRoost said:

only thing that I notice is your boat traders are missing the _Trader = but that just would mean nothing below would spawn:

_trader = isn't necessary as the return of ExileClient_object_trader_create isn't used for anything in initPlayerLocal.

1 hour ago, Grayz_lost said:

{
    private _trader = [
        _x select 0,
        _x select 4,
        ["HubStanding_idle1"],
       _x select 1,
        _x select 2
    ] call ExileClient_object_trader_create;
    _trader setVariable ["ExileTraderType", _x select 3];
} forEach _traders;

This block of code will actually error as _traders is undefined although it shouldn't be the cause of the problem, however ArmA being ArmA it may be worth a try removing it.

Edited by KamikazeXeX

Share this post


Link to post
Share on other sites
  • 0
1 hour ago, KamikazeXeX said:

_trader = isn't necessary as the return of trader_create isn't used for anything in initPlayerLocal.
 

This block of code will actually error as _traders is undefined although it shouldn't be the cause of the problem, however ArmA being ArmA it may be worth a try removing it.

it solved 2 other players earlier this week so I thought fuck it worth a shot.

 

ill find the post................................

.s

Share this post


Link to post
Share on other sites
  • 0
5 minutes ago, GamersRoost said:

it solved 2 other players earlier this week so I thought fuck it worth a shot.

 

ill find the post................................

.s

The result is 100% unused in vanilla and there is no way that adding it would fix any problem unless you do something custom with the return, its likely something else that was changed in the other thread.

Share this post


Link to post
Share on other sites
Advertisement
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.