Jump to content
  • 0

need help!!


AnarchysShadow

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.

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
  • Discord

×
×
  • Create New...