retired.
info
Group: Infante
Joined: 13/10/08
Posts: 1.6k
Reputation: +420
Tibia Character: Demonbholder

Edited Março 16 by Demonbholder
info
Group: Campones
Joined: 29/04/10
Posts: 38
Reputation: +2
Tibia Character: Terry Thigo

da nenhum erro no distro mais n ta teleportando ;x
info
Group: Herói
Joined: 20/05/10
Posts: 3.4k
Reputation: +1.5k
Gender: Masculino

info
Group: Infante
Joined: 13/10/08
Posts: 1.6k
Reputation: +420
Tibia Character: Demonbholder

SCRIPTS ABAIXO.
Em creatureScripts.xml
<event type="kill" name="Rotten" script="NomeDoArquivo.lua"/>
Em login.lua
registerCreatureEvent(cid, "Rotten")
Até mais.
Edited Março 16 by Demonbholder
info
Group: Herói
Joined: 20/05/10
Posts: 3.4k
Reputation: +1.5k
Gender: Masculino

@Demon meu nego gostoso
uma dica é usar string.lower para retornar o nome do monstro ![]()
bjs
info
Group: Infante
Joined: 13/10/08
Posts: 1.6k
Reputation: +420
Tibia Character: Demonbholder

retired.
Edited Março 16 by Demonbholder
info
Group: Campones
Joined: 29/04/10
Posts: 38
Reputation: +2
Tibia Character: Terry Thigo

Não Deu
info
Group: Infante
Joined: 13/10/08
Posts: 1.6k
Reputation: +420
Tibia Character: Demonbholder

Eu testei e funcionou sim. Você fez algo errado, vou te passar as 3 possibilidades de scripts:
function onKill(cid, target)
local pos = {x=, y=, z=}
if isMonster(target) and getCreatureName(target) == 'pythius the rotten' then
doTeleportThing(cid, pos)
end
return TRUE
end
OU:
function onKill(cid, target)
local pos = {x=, y=, z=}
if isMonster(target) and string.upper(getCreatureName(target)) == 'PYTHIUS THE ROTTEN' then
doTeleportThing(cid, pos)
end
return TRUE
end
OU:
function onKill(cid, target)
local pos = {x=, y=, z=}
if isMonster(target) and string.lower(getCreatureName(target)) == 'pythius the rotten' then
doTeleportThing(cid, pos)
end
return TRUE
end
Agora as tags:
CreatureScripts.xml
<event type="kill" name="Rotten" script="NomeDoArquivo.lua"/>
Login.lua
registerCreatureEvent(cid, "Rotten")
Certamente funciona.
info
Group: Campones
Joined: 29/04/10
Posts: 38
Reputation: +2
Tibia Character: Terry Thigo

Ae a ultima funciono vlw ae
REP+
info
Group: Infante
Joined: 13/10/08
Posts: 1.6k
Reputation: +420
Tibia Character: Demonbholder

Pedido entregue, reportando.



info
Group: Campones
Joined: 29/04/10
Posts: 38
Reputation: +2
Tibia Character: Terry Thigo
Quando um player matar um Boss ele seja teleportado para um posição (somente quem matou)
Nome do Boss: Pythius The Rotten
Espero Respostas ;D