o script não é meu só fiz algumas altarações...
ok
em Creaturescript/script crie um arquivo.lua e renomeie para
ItemKill.lua
function onDeath(cid, corpse, deathList)
if isPlayer(cid) then
local v = { killer_name = getCreatureName(deathList[1]), target_name = getCreatureName(cid) }
local reward = doAddContainerItem(corpse.uid, 5943, 1)
doItemSetAttribute(reward, "description", "o jogador "..v.target_name .." foi morto por " .. v.killer_name .. ".")
doItemSetAttribute(reward, "name", v.target_name .." Heart")
end
return TRUE
end
em Creaturescript/script/login.lua adicione:
registerCreatureEvent(cid, "KillItem")
em creaturescript.xml adicione a tag:
<event type="death" name="KillItem" event="script" value="ItemKill.lua"/>


info
Grupo: Campones
Registrado: 23/07/10
Posts: 28
Reputação: +1
Aew galerinha Xtibiana!!
Gostaria de um script que quando um PLAYER matar outro PLAYER2 aparesa no loot um iten com id XXXX e quando desse look no iten ficaria assim You see a Heart. PLAYER matou PLATER2 ou PLAYER2 morto por PLAYER... algo do tipo...
vlws aew! agradeso des de jah! abraços