Jump to content
  • 0

[TUTORIAL]How To Add Things To Traders


NGHD

Question

Some People have been asking/makign threads on how to add things to traders

so i decided i would make a tutorial for it

sorry if this is in the wrong section

 

 

 

1. Open Your Database

 

2. Now put the database aside

 

3. Go to your desktop and create a new text document

 

4. Open it And Put This Code At The Very Top of The Document

 

INSERT INTO `traders_data` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES

Then Add This Code

('["RH_Deagles",3]', 1000, '[2,"ItemGoldBar",1]', '[1,"ItemGoldBar",1]',0, 002, 'trade_weapons');

Then Change The item to what you want it do be(MAKE SURE YOU CHAGE THE TID TO YOUR TRADERS TID)

Example

1. ('["30Rnd_556x45_Stanag",1]', 1000, '[4,"ItemGoldBar",1]', '[2,"ItemGoldBar",1]',0478, 'trade_items');

2. ('["USSR_cheytacM200",3]', 1000, '[4,"ItemGoldBar",1]', '[2,"ItemGoldBar",1]',0487, 'trade_weapons');

3. ('["BTR40_TK_INS_EP1",2]', 1000, '[4,"ItemGoldBar10oz",1]', '[2,"ItemGoldBar10oz",1]',0564, 'trade_any_vehicle');

 

Should Look Something Like This(But it WIll be different to mine as you would of changed your items to somethign else)

INSERT INTO `traders_data` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES
('["USSR_cheytacM200",3]', 1000, '[4,"ItemGoldBar",1]', '[2,"ItemGoldBar",1]',0487, 'trade_weapons');

 

5. Now that's done you can save that AS A .SQL 

For Example

MyNewTraderItem.sql

 

6. Now you go to Your Database Again

 

7. Right Click On it and click on "Execute Batch File"

 

8. Now Select Your MyNewTraderItem.sql

And Click Use

 

9. Now Your Done So Open You Server And Try It Out

 

10. Enjoy

 

If you have any questions please do ask below as i am more than happy to help you

 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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

×
×
  • Create New...