So para constar estou usando TFS 0.3.7
Galera meu script a baixo esta dando este erro
[6/4/2015 10:24:21] [Error - MoveEvents Interface] [6/4/2015 10:24:21] Description: [6/4/2015 10:24:21] (luaGetThingFromPosition) Tile not found
Segue Script
function onStepIn(cid, item, position, fromPosition)
local room = { -- room with demons
fromX = 156,
fromY = 65,
fromZ = 7,
--------------
toX = 178,
toY = 91,
toZ = 5
}
exit = {x=175, y=84, z=7}
if getPlayerGuildName(cid) ~= "" then
for x = room.fromX, room.toX do
for y = room.fromY, room.toY do
for z = room.fromZ, room.toZ do
end
end
end
local pos = {x=x, y=y, z=z,stackpos = 253}
local thing = getThingfromPos(pos)
if thing.itemid > 0 then
if isPlayer(thing.uid) == TRUE then
doTeleportThing(thing, exit, false)
end
end
end
Alguem sabe concertar?
Agradeço desde ja