MI

Ajuda Ake Com Teleports Falantes

Por Mitooz, 08 de jul. de 2011 em Archived

script
2
704
MitoozM
08 de julho de 2011 às 09:00

Eaee



Galera

Alguem Passa

Um Script

De Teleports Falantes

Meu Serv é 8.54 ~5.57 Slayer Youruts

08 de julho de 2011 às 10:40

Em globalevents.xml adicione :

<globalevent name="texto" interval="2000" script="texto.lua" />

Crie um arquivo chamado texto.lua em data\globalevents\scripts:

local config = {

positions = {

["Bem-Vindo!"] = { x = 158, y = 52, z = 7 },

["TP's!"] = { x = 152, y = 47, z = 7 },

["Depot!"] = { x = 152, y = 46, z = 7 },

["Trainers!"] = { x = 164, y = 48, z = 7 },

["Area VIP!"] = { x = 149, y = 46, z = 7 },

["Inq"] = { x = 145, y = 47, z = 7 }

}

}

 

function onThink(cid, interval, lastExecution)

for text, pos in pairs(config.positions) do

doSendAnimatedText(pos, text, math.random(1, 255))

end

 

return TRUE

end

 

O nome e coordenadas podem ser modificadas.

 

REP+ me!

Editado Julho 8 por Pess0a