Jump to content
  • 0
Sign in to follow this  
AnarchysShadow

need help!!

Question

2 answers to this question

Recommended Posts

  • 0

GTXgaming should have its own file system for 1 click install of addon/mods from memory i believe your trader item files should be located inside your mission.pbo/folder unpacked  then CONFIGS folder then TRADERS folder then Category folder all your trader .hpp files are inside this folder.

BanditAmmunition.hpp ( Obvious that this file is the bandit traders ammo supply )

inside the .hpp file

class Category_577
{
class 30Rnd_556x45_StanagSD {type = "trade_items";buy[] ={400,"Coins"};sell[] ={200,"Coins"};};
class 5Rnd_86x70_L115A1 {type = "trade_items";buy[] ={4000,"Coins"};sell[] ={2000,"Coins"};};
class 100Rnd_762x51_M240 {type = "trade_items";buy[] ={2000,"Coins"};sell[] ={1000,"Coins"};};
class 20Rnd_762x51_FNFAL {type = "trade_items";buy[] ={400,"Coins"};sell[] ={200,"Coins"};};
class 20Rnd_762x51_SB_SCAR {type = "trade_items";buy[] ={1000,"Coins"};sell[] ={500,"Coins"};};
class 100Rnd_127x99_M2 {type = "trade_items";buy[] ={100000,"Coins"};sell[] ={50000,"Coins"};};
class 2000Rnd_762x51_L94A1 {type = "trade_items";buy[] ={100000,"Coins"};};
class 32Rnd_40mm_GMG {type = "trade_items";buy[] ={100000,"Coins"};sell[] ={50000,"Coins"};};
class 48Rnd_40mm_MK19 {type = "trade_items";buy[] ={100000,"Coins"};sell[] ={50000,"Coins"};};
class 2000Rnd_762x51_M134 {type = "trade_items";buy[] ={100000,"Coins"};sell[] ={50000,"Coins"};};     
};

To add ammo if the trader does not sell the item that you want copy a class line and paste it at the bottom inside the brackets and replace the class name with the item you want like so

class Category_577
{
class 30Rnd_556x45_StanagSD {type = "trade_items";buy[] ={400,"Coins"};sell[] ={200,"Coins"};};
class 5Rnd_86x70_L115A1 {type = "trade_items";buy[] ={4000,"Coins"};sell[] ={2000,"Coins"};};
class 100Rnd_762x51_M240 {type = "trade_items";buy[] ={2000,"Coins"};sell[] ={1000,"Coins"};};
class 20Rnd_762x51_FNFAL {type = "trade_items";buy[] ={400,"Coins"};sell[] ={200,"Coins"};};
class 20Rnd_762x51_SB_SCAR {type = "trade_items";buy[] ={1000,"Coins"};sell[] ={500,"Coins"};};
class 100Rnd_127x99_M2 {type = "trade_items";buy[] ={100000,"Coins"};sell[] ={50000,"Coins"};};
class 2000Rnd_762x51_L94A1 {type = "trade_items";buy[] ={100000,"Coins"};};
class 32Rnd_40mm_GMG {type = "trade_items";buy[] ={100000,"Coins"};sell[] ={50000,"Coins"};};
class 48Rnd_40mm_MK19 {type = "trade_items";buy[] ={100000,"Coins"};sell[] ={50000,"Coins"};};
class 2000Rnd_762x51_M134 {type = "trade_items";buy[] ={100000,"Coins"};sell[] ={50000,"Coins"};};

class Change This to what you want {type = "trade_items";buy[] ={change the buy amount also 100000,"Coins"};sell[] ={ change the sell amount also 50000,"Coins"};}; 
};

 

Either way check those .hpp files if you are using the Cfgtraders that GTXgaming setup as 1 click install otherwise items for traders are in your sql database.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Similar Content

    • By calinova22
      How would I go about adding custom vehicles to my server? I want to have an F35B with no weapons. I know how to remove the weapons, just cant find the file for the jet itself to edit.
    • By Cyrus
      I have placed a fuel pump in starry using a custom script. The fuel pump is there and accessible but i would like to know how i can make it work with out the need of having to place a generator or a running fuel ural. by default it acts the same way a placeable fuel pump works picked up in the world. 
      Here is the code that use to spawn the fuel pump. 
      _vehicle_344 = objNull; if (true) then { _this = createVehicle ["Land_A_FuelStation_Feed", [6325.166, 7715.0869, 0.15837258], [], 0, "CAN_COLLIDE"]; _vehicle_344 = _this; _this setDir -52.000465; _this setPos [6325.166, 7715.0869, 0.15837258]; }; Any help will be appreciated.
    • By JohnnyBravo666
      My question is for when I switched over to single currency from the default currency, that when I went to the traders, it was showing costs like "5 Coins" to buy and "3 Coins to sell". I understand that it's pulling the value quantities from the trader files from the default currency. But is there a way to set it so it calculates what the gold bars and silver bars and whatnot are equal to in single currency ?
      I'd really prefer not to have to change up all the files.
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...