christiandb
Member
Code:
elseif (item.uid == 21480) then
local pos =
{
{x = 952, y = 19887, z = 11, stackpos = 1}
}
for _, lev in ipairs(pos) do
if (getThingfromPos(pos).itemid == 1946) then
return doPlayerSendCancel(cid, "Sorry, not possible.")
end
end
Error:
Code:
(luaGetThingFromPos) Tile not found
I'm 100% sure there is a tile on the pos.
Kind regards,
Chris~