N achei otro topico igual ou um tanto igual a esse então
------------------7.6 Version----------By denilson6--------
<~~Sarcophagus Version~~>
function onUse(cid, item, frompos, item2, topos) if item2.itemid == 1417 thenrand = math.random(1,9) if rand == 1 then doSummonCreature("Omruc",topos) elseif rand == 2 then doSummonCreature("Morguthis",topos) elseif rand == 3 then doSummonCreature("Thalas",topos) elseif rand == 4 then doSummonCreature("Dipthrah",topos) elseif rand == 5 then doSummonCreature("Ashmunrah",topos) elseif rand == 6 then doSummonCreature("Mahrdis",topos) elseif rand == 7 then doSummonCreature("Vashresamun",topos) elseif rand == 8 then doSummonCreature("Rahemos",topos) elseif rand == 9 then doSummonCreature("Mummy",topos) elseif rand == 5 then doPlayerSendTextMessage(cid,22,"Nothing interesting happened!.") elseif rand == 6 then doPlayerSendTextMessage(cid,22,"Nothing interesting happened!.") elseif rand == 7 then doPlayerSendTextMessage(cid,22,"Nothing interesting happened!.")endreturn 1endend
<action itemid="1417" script="nome_q_vc_salvou.lua" />
<~~Stone Coffin Version~~>
function onUse(cid, item, frompos, item2, topos) if item2.itemid == 1410 thenrand = math.random(1,6) if rand == 1 then doSummonCreature("Vampire",topos) elseif rand == 2 then doSummonCreature("Skeleton",topos) elseif rand == 3 then doSummonCreature("Ghoul",topos) elseif rand == 4 then doSummonCreature(Ghost",topos) elseif rand == 5 then doPlayerSendTextMessage(cid,22,"Nothing interesting happened!.") elseif rand == 6 then doPlayerSendTextMessage(cid,22,"Nothing interesting happened!.")endreturn 1endend
<action itemid="1410" script="nome_q_vc_salvou.lua" />
~~>OBS.:Só funciona dando USE na paste de cima do (Sarcophagus/Coffin)
Qualquer bug ou coisa do genero, poste aqui, por favor!