• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

[mysql] Query that gives points and takes items

wesoly136

Member
Joined
Jul 30, 2009
Messages
562
Reaction score
9
Hi!
I need a query that will take an item from player and give them amount of points.

For example.
Account manager has item with id 9999

and When I execute the query he will lose this item and get points which I will write in query :P

It should work for all players in database.

Thanks :D
 
Just use:
LUA:
delete * from player_items where itemtype = 2195;

It will delete all boots of haste(2195) from all players.

LUA:
delete * from player_items;

It will delete ALL items from all players.
 
Last edited:
Back
Top