Jump to content
  • 0

Trader help with buying items with gems


OfficialBW8

Question

I am making a trader sell a TWS gun for a certain amount of sapphires which are worth 12 briefcases. Whenever I have 8 sapphires for example in my inventory and I buy an AS50 TWS, it gives the player the gun but the trader does not accept the gems and the player can just continually buy them.

 

here is my SQL line:

INSERT INTO `epoch8255`.`traders_data` (`id`, `item`, `qty`, `buy`, `sell`, `order`, `tid`, `afile`) VALUES (NULL, '["BAF_AS50_TWS",3]', '250', '[8,"ItemSapphire",1]', '[2,"ItemSapphire",1]', '0', '696', 'trade_weapons');

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

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...