Preciso De 2 Talkactions!

henriquevliria
em Lixeira Pública

henriquevliria

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 08/03/09Posts: 1

preciso dakele /t q puxe todas pessoa para o templo, oq eu tenhu, tem coloca /t nome da pessoa, e tem q puxa uma por uma.. qria algum q puxe tods player para o templo d uma ves..

 

 

e o otro qria o eskema d lacanca e puxa e abre pedra

 

 

 

ajudem ai pls !!

 

bejin =*

comedinhasss

Comedinha
avatar
Herói
Herói

INFOS

Grupo: HeróiRegistrado: 08/08/07Posts: 520Gênero: MasculinoChar no Tibia: Sir Morths

o de /t

<talkaction log="yes" words="/t" access="3" event="script" value="teleportmaster.lua"/>

 

Coloca o arquivo como teleportmaster.lua e adicione:

function onSay(cid, words, param, channel)

local tid = cid

if(param ~= '') then

tid = getPlayerByNameWildcard(param)

if(not tid or (isPlayerGhost(tid) and getPlayerGhostAccess(tid) > getPlayerGhostAccess(cid))) then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player " .. param .. " not found.")

return true

end

end

 

local pos = getPlayerTown(tid)

local tmp = getTownName(pos)

if(not tmp) then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Home town does not exists.")

return true

end

 

pos = getTownTemplePosition(pos)

if(not pos or isInArray({pos.x, pos.y}, 0)) then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Wrong temple position for town " .. tmp .. ".")

return true

end

 

pos = getClosestFreeTile(tid, pos)

if(not pos or isInArray({pos.x, pos.y}, 0)) then

doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Destination not reachable.")

return true

end

 

tmp = getCreaturePosition(tid)

if(doTeleportThing(tid, pos, true) and not isPlayerGhost(tid)) then

doSendMagicEffect(tmp, CONST_ME_POFF)

doSendMagicEffect(pos, CONST_ME_TELEPORT)

end

 

return true

end

 

O de teleport da pedra e uma acontion:

http://www.xtibia.com/forum/topic/1230-mover-pedra-com-alavanca/

Bruno de Carvalho Câmara
[email protected]<script data-cfhash='f9e31' type="text/javascript"> /* */</script> / (18) 9 9640-4544
 

 

 

 

 

 

 

 

 

 

facebook.png&key=5c75f89868a8711c49cc20315645ab5fd3ef2d384bf666dd888f1c280a6b75ed&resource=1 twitter.png&key=a62b8fde99e302436f4cc04056c02768d777c0d27d77011e8931ced8099246e6&resource=1 googleplus.png&key=f287787442661f4422363039ba86e9c578c4921ad397c8f0d88f31709d26c48a&resource=1 youtube.png&key=08e8d5ba725e0a7bfedfe6c9d413ff55e2febb19493974e3a1fd5160d3cabc9f&resource=1 skype.png&key=0aee9c9483d4f4dee341915e654aa361f40598341a31a62afec9f83a2734e0ad&resource=1 steam-icon.png&key=b869d73d6be3b894b7204e151a9582d3b2a84a5d853d940297fec82e1ae25b55&resource=1

 

 

 

 

 

 

 

 

 

 

btn_donateCC_LG.gif&key=ea1b6265cec82d379c00914ab97fd15478f9983200fa273984872388d20f0b62&resource=1 180x25-doar.gif&key=8671e0307e2a7fd446670d1b16671d35069b1c91bed3d028b8f7db698c59eac5&resource=1

 

"Pesadelos? Sonhos? Calma, é apenas eu pensando em você!"

 

wMwSJFE.png?1&key=101925b29f8396357ec8f63d177a708785a8da5f96f154f44e9a4c6599794673&resource=1