aki esta dando o seguinte erro :
[27/01/2011 02:56:10] [Error - GlobalEvent Interface]
[27/01/2011 02:56:10] data/globalevents/scripts/teleports.lua:onThink
[27/01/2011 02:56:10] Description:
[27/01/2011 02:56:10] attempt to index a nil value
[27/01/2011 02:56:10] stack traceback:
[27/01/2011 02:56:10] [C]: in function 'doSendAnimatedText'
[27/01/2011 02:56:10] data/globalevents/scripts/teleports.lua:12: in function <data/globalevents/scripts/teleports.lua:1>
[27/01/2011 02:56:10] [Error - GlobalEvents::think] Couldn't execute event: Teleports
mas olha como esta o script :
function onThink(interval, lastExecution)
pos = {x = 397, y = 456, z = 7}
pos1 = {x = 401, y = 456, z = 7}
pos2 = {x = 407, y = 456, z = 7}
pos3 = {x = 411, y = 456, z = 7}
pos5 = {x = 410, y = 450, z = 7}
pos6 = {x = 410, y = 452, z = 7}
doSendAnimatedText(pos,'Jungle City',140)
doSendAnimatedText(pos1,'Frozen City',140)
doSendAnimatedText(pos2,'Fire Fortress',140)
doSendAnimatedText(pos3,'NON PVP',140)
doSendAnimatedText(pos4,'Arena',140)
doSendAnimatedText(pos5,'ANIHILATOR',140)
doSendAnimatedText(pos6,'D.H. Quest',140)
end
ja tentei de tudo ja estou ficando irritado queria tanto que isso funcionasse alguem me ajuda?