YesEdit your shop.lua to add action id's to all donation items bought and then make a global event to delete items with the same action id's. If they are "duplicated" then the items should have similar action id's, right?
Is this how it works?
Not for sale, sorryor devianceone![]()
Not quite, checking hundreds of players items, depots and houses often with LUA is not a good idea. This also wouldn't prevent players who have duped items which are offline.Edit your shop.lua to add action id's to all donation items bought and then make a global event to delete items with the same action id's. If they are "duplicated" then the items should have similar action id's, right?
Is this how it works?
Not for sale, sorry![]()
Not quite, checking hundreds of players items, depots and houses often with LUA is not a good idea. This also wouldn't prevent players who have duped items which are offline.
you mean you use SQL, but it's scripted in PHP? if yes, then yeah it's a better idea. it also shouldn't cause freezes to the server, unlike the queries executed by TFS in luaThat's why it's possible and easier via PHP, I hope I can finish mine to release it ^_^
Not quite, checking hundreds of players items, depots and houses often with LUA is not a good idea. This also wouldn't prevent players who have duped items which are offline.