data\creaturescripts\deathnote.lua
function onKill(cid, target, flags) local item = doPlayerAddItem(cid, 2345, 1) local desc = getCreatureName(target) .." killed by ".. getCreatureName(cid) .."." if isPlayer(target) then if isPlayer(cid) then doSetItemSpecialDescription(item, desc) end end end
data\creaturescripts\creaturescripts.xml
<event name="PKDeathNote" type="kill" script="deathnote.lua"/>
Não testei porque to sem servidor aqui, mas deve funcionar.




info
Grupo: Artesão
Registrado: 15/01/12
Posts: 100
Reputação: +9
Char no Tibia: Leon Of Pandoria
Aew GAlera!
Queria um sistema que qnd o player morria no loot dele fikava o Item ID:2345 com o escrito Ex: "Fulano killed by ciclano"
Assim os player poderiam mostrar q matou tal pessoa ou qnd matar um player lvl alto guardar por house lá
Quem puder passa aew!
Vlw's
;D