Jump to content
  • 0

Remove Items From Database?


Tricks

Question

5 answers to this question

Recommended Posts

  • 0
DELETE FROM `traders_data` WHERE `item` LIKE 'name of the item';

that will remove said item from every trader.

DELETE FROM `traders_data` WHERE tid=123 AND `item` LIKE 'name of the item';

that will remove the item only from a particular trader.

 

to find the TIDs of each trader and category, take a look at your 'server_traders.sqf'

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