tente ae lek.
local config = {
positions = {
{pos = {x = 1031, y = 1024, z = 7}, text = "Area Donate", effects = {CONST_ME_MAGIC_BLUE}},
{pos = {x = 1032, y = 1025, z = 7}, text = "Teleports", effects = {CONST_ME_MAGIC_BLUE}},
{pos1 = {x= 1033, y=1024, z=7},
},
effects = {CONST_ME_POFF, CONST_ME_TELEPORT, CONST_ME_MAGIC_BLUE}
}
function onThink(interval)
local people = getPlayersOnline()
if #people == 0 then
return true
end
for _, info in pairs(config.positions) do
doPlayerSay(people[1], info.text, TALKTYPE_MONSTER_SAY, false, 0, info.pos)
doSendMagicEffect(pos1, 30)
return true
end