Bom para ser usados por aqueles "incheridos" que pensam que qlqer barril ou chest eh item de quest e vao "se ferrar" hehehehe..
Crie um arquivo chamado barrilexplosivo.lua e adicione
function onUse(cid, item, frompos, item2, topos)if item.uid == 4300 then
if item.itemid == 2491 then
-- Explosive Barrel
doSendMagicEffect(topos,6)
doPlayerAddHealth(cid,-10000)
else
return 0
end
end
end
e em actions.xml adicone
<action uniqueid="4300" script="barrilexplosivo.lua" />
Simples e divertido!
fonte: ######