How to empty someones Inventory?

Jwake

Member
Feb 12, 2016
140
10
Hello,
So I want to reset everyones rares via database, but I'm not too sure how... Could someone help? Is there an sql or what?
Please help :p
 

Jwake

Member
Feb 12, 2016
140
10
This query will delete all furnitures in the inventory.
Code:
DELETE * FROM items where room_id = '0';
"[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '* FROM items where room_id = '0'' at line 1"
 

yoyok

Member
Apr 24, 2013
197
24
"[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '* FROM items where room_id = '0'' at line 1"
Try this, should work now.
Code:
DELETE FROM items where room_id = '0';
 

Users who are viewing this thread

Top