arruma ai mano pf quero por no meu ot pra poder posta logo
local pos =
{
{{x = 160, y = 54, z = 7}, {x = 160, y = 54, z = 7, stackpos = 253}},
}
function onThink(cid, interval, lastExecution)
for _, positions in pairs(pos) do
doSendMagicEffect(positions[1], 35)
if getThingFromPos(positions[2]).itemid > 0 then
for _, name in pairs(getOnlinePlayers()) do
local player = getPlayerByName(name)
doSendAnimatedText(positions[1], "", 18)
end
end
end
return TRUE
end