Jump to content
  • 0

Removing All Instances of "Item" from database


seeker619

Question

1 answer to this question

Recommended Posts

  • 0
UPDATE character_data SET `inventory` = REPLACE(`inventory`,'BAF_AS50_scoped_DZ','MR43');
UPDATE character_data SET `backpack` = REPLACE(`backpack`,'BAF_AS50_scoped_DZ','MR43');
UPDATE object_data SET `inventory` = REPLACE(`inventory`,'BAF_AS50_scoped_DZ','MR43');

Run a query with the above in it.

 

It is difficult to remove something from the database, due to the way that the inventory system works in the database. The SQL code above will replace the AS50 with MR43 (Double Barrel Shotgun). There are numerous variants of AS50 though, so make sure you have the right one.

 

Hope that helps :)

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...