1°
deathcast.lua
function onDeath(cid, corpse, deathList)
if isPlayer(deathList[1]) then
doBroadcastMessage("".. getCreatureName(deathList[1]) .." [" .. getPlayerLevel(deathList[1]) .. "] Just Killed ".. getCreatureName(cid) .. "[" .. getPlayerLevel(cid) .. "]",18)
end
return true
end
Creaturescript.xml adicione
<event type="death" name="DeathC" event="script" value="deathcast.lua"/>
creaturescript/script/login.lua
registerCreatureEvent(cid, "DeathC")
link útil: http://www.xtibia.com/forum/topic/153446-death-cast/








info
Grupo: Artesão
Registrado: 03/12/10
Posts: 103
Reputação: +16
Quero estes Scripts Se Pusivel Obrigado :
0 - Tipo Death List Assim
Ex:
Se Não Aparecer (Eu Quero um Script de quando um play mata outro Aparece pra todos)
Por Favor Queria 2 Scripts de Dois Monstro Fodão (Para Ot Exp Alta) :
1 - Quero Que Se Chame Paralyse
Quero Que tenha Paralyse Da Morte ( Acho que vcs Entederam)
Mana,Life : Maximo
Loot : O MAS RUIM POSSIVEL!
Roupa :
2 - Quero Que se Chame Traidor Do GOD
quero Que Esse Tenha Paralyse Imortal Tb,Atake Muitooo Foda !
Mana,Life : Maximo
Loot : O MAS RUIM POSSIVEL!
Roupa :
DOU 15 + PARA QUE FIZER OBRIGADO !