Hello, I have a problem. I have an item that I can click “Use with,” and when I select “Use with” and then click on some tile, it puts the item into my backpack even though moving the item is supposed to be blocked.
And how to fix it?
TFS 1.2:
Can this be blocked? At least in C++ it's for life for itemid 2421
And how to fix it?
TFS 1.2:
C++:
// Player:onMoveItem(item, count, fromPosition, toPosition) or Player.onMoveItem(self, item, count, fromPosition, toPosition)
LUA:
if item.itemid == 2421 then
self:sendCancelMessage("Nie mozesz przesunac tego przedmiotu.")
return false
end
Can this be blocked? At least in C++ it's for life for itemid 2421