function onDeath(cid, lastHitKiller, mostDamageKiller) if getPlayerSlotItem(cid, 5).itemid == 5907 then if getPlayerSkullType(cid) >= 4 then doCreatureSetDropLoot(cid, false) end end return true end
Tenta ai.
Por Janmix, 29 de set. de 2012 em Scripts
info
Grupo: Marquês
Registrado: 22/07/12
Posts: 1.1k
Reputação: +400
Gênero: Masculino
Char no Tibia: Luck Oake

function onDeath(cid, lastHitKiller, mostDamageKiller) if getPlayerSlotItem(cid, 5).itemid == 5907 then if getPlayerSkullType(cid) >= 4 then doCreatureSetDropLoot(cid, false) end end return true end
Tenta ai.
não ta dando mais o erro só que ainda ta dropando o item. ![]()
info
Grupo: Marquês
Registrado: 22/07/12
Posts: 1.1k
Reputação: +400
Gênero: Masculino
Char no Tibia: Luck Oake

Já registrou no login.lua?
info
Grupo: Cavaleiro
Registrado: 26/10/08
Posts: 152
Reputação: +10
erro:
esse script ta com erro o player morre dropa o item e esta dando um erro no executavel quem souber arrumar ou criar 1 script que faça o mesmo efeito que é não dropar items no slot do shield ou nao dropar o item 5907.
rep+