Try a different function for the text then, could be deprecated.Tried all of them already its just the console dont give any errors ill see the effects but i dont see the docreaturesay text
local t = {
{"test", {x=1000, y=1000, z=7}, CONST_ME_TELEPORT},
{"test2", {x=1001, y=1000, z=7}, CONST_ME_GIFT_WRAPS},
{"test3", {x=1002, y=1000, z=7}, CONST_ME_POFF}
}
function onThink(interval)
local people = getOnlinePlayers()
if #people == 0 then
return true
end
for i = 1, #t do
local v = t[i]
doCreatureSay(people[1], v[1], TALKTYPE_ORANGE_1, false, 0, v[2])
doSendMagicEffect(v[2], v[3])
end
return true
end
Try this
Code:local t = { {"test", {x=1000, y=1000, z=7}, CONST_ME_TELEPORT}, {"test2", {x=1001, y=1000, z=7}, CONST_ME_GIFT_WRAPS}, {"test3", {x=1002, y=1000, z=7}, CONST_ME_POFF} } function onThink(interval) local people = getOnlinePlayers() if #people == 0 then return true end for i = 1, #t do local v = t[i] doCreatureSay(people[1], v[1], TALKTYPE_ORANGE_1, false, 0, v[2]) doSendMagicEffect(v[2], v[3]) end return true end