function onSay(cid, words, param)
newpos = {x=1130, y=1145, z=7}
if getCreatureCondition(cid, CONDITION_INFIGHT) == TRUE then
doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT, "Você precisa estar sem battler pra poder teleportar.")
else
doTeleportThing(cid,newpos)
doSendMagicEffect(getPlayerPosition(cid), 49)
doPlayerSendTextMessage(cid, 22, "" .. getPlayerName(cid) .. " foi teleportado para Eremo Island(aol seller)")
end
return TRUE
end
- Forums
- xTibia - Notícias e Suporte
- Soluções
- Archived
- [Ajuda]Só Teleporta Sem Battle
7
812
info
Group: Cavaleiro
Joined: 19/11/10
Posts: 190
Reputation: +36
Tibia Character: Frenesy

17 de setembro de 2011 às 18:18
info
Group: Artesão
Joined: 16/01/09
Posts: 140
Reputation: +50
Tibia Character: Eternal Oblivion

17 de setembro de 2011 às 18:21
vleu xD
rep +
edit@ ops ainda tenho que esperar pra dar rep mas eu darei quando puder
abraços
Edited Setembro 17 by soldoran
info
Group: Cavaleiro
Joined: 19/11/10
Posts: 190
Reputation: +36
Tibia Character: Frenesy

17 de setembro de 2011 às 18:24
edit@ ops ainda tenho que esperar pra dar rep mas eu darei quando puder
Sem Problemas, foi um Prazer ajudar.
Abraços !! :smile_positivo:
info
Group: Artesão
Joined: 16/01/09
Posts: 140
Reputation: +50
Tibia Character: Eternal Oblivion

17 de setembro de 2011 às 18:29
só aproveitando
tem como colocar neste tbm?se não for pedir muito
function onSay(cid, words, param)
newpos = {x=2085, y=2250, z=4}
if getPlayerLevel(cid) >= 200 and doPlayerRemoveItem(cid,12385,1) then
doTeleportThing(cid,newpos)
doSendMagicEffect(getPlayerPosition(cid), 66)
doPlayerSendTextMessage(cid, 22, "[Mission]Você entrou em Blood Castle")
doPlayerSendTextMessage(cid, 22, "[Mission]Ajude o Archangel a pegar de volta sua arma,destrua os inimigos,destrua os portoes e invada o castelo,destrua o cubo e pegue a arma,e traga até o Archangel")
else
doPlayerSendTextMessage(cid, 22, "[Aviso]Você não tem o level nescessario ou o item")
doSendMagicEffect(getPlayerPosition(cid), 68)
end
return TRUE
end
info
Group: Cavaleiro
Joined: 19/11/10
Posts: 190
Reputation: +36
Tibia Character: Frenesy

17 de setembro de 2011 às 19:05
Sem Problemas !
function onSay(cid, words, param)
newpos = {x=2085, y=2250, z=4}
item_id = 12385
if getCreatureCondition(cid, CONDITION_INFIGHT) == TRUE then
doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT, "Você precisa estar sem battler pra poder teleportar.")
end
if getPlayerLevel(cid) >= 200 and getPlayerItemCount(cid,item_id) >= 1 and getCreatureCondition(cid, CONDITION_INFIGHT) == FALSE then
doTeleportThing(cid,newpos)
doSendMagicEffect(getPlayerPosition(cid), 66)
doPlayerSendTextMessage(cid, 22, "[Mission]Você entrou em Blood Castle")
doPlayerSendTextMessage(cid, 22, "[Mission]Ajude o Archangel a pegar de volta sua arma,destrua os inimigos,destrua os portoes e invada o castelo,destrua o cubo e pegue a arma,e traga até o Archangel")
else
doPlayerSendTextMessage(cid, 22, "[Aviso]Você não tem o level nescessario ou o item")
doSendMagicEffect(getPlayerPosition(cid), 68)
end
return TRUE
end
Abraços !! :smile_positivo:
Edited Setembro 17 by Frenesy


info
Group: Artesão
Joined: 16/01/09
Posts: 140
Reputation: +50
Tibia Character: Eternal Oblivion
Ola pessoal,mais uma vez venho aqui pedir ajuda de vocês
bom so horrivel em scripts,entao queria saber se tem como colocar pro player nao se teleportar quando estiver com battle nesse script
function onSay(cid, words, param) newpos = {x=1130, y=1145, z=7} if getPlayerLevel(cid) >= 0 then doTeleportThing(cid,newpos) doSendMagicEffect(getPlayerPosition(cid), 49) doPlayerSendTextMessage(cid, 22, "" .. getPlayerName(cid) .. " foi teleportado para Eremo Island(aol seller)") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "você digitou errado.") doSendMagicEffect(getPlayerPosition(cid), 11) end return TRUE endquem ajudar agradeço e dou rep+
abraços
Edited Setembro 17 by soldoran