Hello i have problem with this script for block move items on title with 10 items
look
And if i move item to ground without items then i have message "Sorry, you cannot put more items on this tile.".
look
Lua:
function onMoveItem(cid, item, fromPosition, toPosition, fromItem, toItem, fromGround, toGround, status)
toPosition.stackpos = 10
if(getThingFromPos(toPosition).uid)then
doPlayerSendCancel(cid, "Sorry, you cannot put more items on this tile.")
return false
end
end
Last edited: