hassio 1 Postado Novembro 8, 2008 Share Postado Novembro 8, 2008 Como eu faço uma quest com uma Bp com 2 items dentro dela? aqui ta o seguinte -- annihilator chests function onUse(cid, item, frompos, item2, topos) if item.uid == 7110 then queststatus = getPlayerStorageValue(cid,5491) if queststatus == -1 then doPlayerSendTextMessage(cid,22,"You have found Blessed Turband.") doPlayerAddItem(cid,2471,1) setPlayerStorageValue(cid,5491,1) else doPlayerSendTextMessage(cid,22,"It is empty.") end elseif item.uid == 7101 then queststatus = getPlayerStorageValue(cid,5491) if queststatus == -1 then doPlayerSendTextMessage(cid,22,"DsL") doPlayerAddItem(cid,2469,1) setPlayerStorageValue(cid,5491,1) else doPlayerSendTextMessage(cid,22,"It is empty.") end elseif item.uid == 7111 then queststatus = getPlayerStorageValue(cid,5491) if queststatus == -1 then doPlayerSendTextMessage(cid,22,"You have found Holly Wand.") doPlayerAddItem(cid,7410,1) setPlayerStorageValue(cid,5491,1) else doPlayerSendTextMessage(cid,22,"It is empty.") end elseif item.uid == 7102 then queststatus = getPlayerStorageValue(cid,5491) if queststatus == -1 then doPlayerSendTextMessage(cid,22,"Heaven axe.") doPlayerAddItem(cid,7411,1) setPlayerStorageValue(cid,5491,1) else doPlayerSendTextMessage(cid,22,"It is empty.") end elseif item.uid == 7103 then queststatus = getPlayerStorageValue(cid,5491) if queststatus == -1 then doPlayerSendTextMessage(cid,22,"shadow sceptre.") doPlayerAddItem(cid,7451,1) setPlayerStorageValue(cid,5491,1) else doPlayerSendTextMessage(cid,22,"It is empty.") end elseif item.uid == 7109 then queststatus = getPlayerStorageValue(cid,5491) if queststatus == -1 then doPlayerSendTextMessage(cid,22,"Golden Bow.") doPlayerAddItem(cid,7438,1) setPlayerStorageValue(cid,5491,1) else doPlayerSendTextMessage(cid,22,"It is empty.") end elseif item.uid == 7107 then queststatus = getPlayerStorageValue(cid,5491) if queststatus == -1 then doPlayerSendTextMessage(cid,22,"You have found Sword of the Damned.") doPlayerAddItem(cid,7959,1) setPlayerStorageValue(cid,5491,1) else doPlayerSendTextMessage(cid,22,"It is empty.") end else return 0 end return 1 end Link para o comentário Compartilhar em outros sites More sharing options...
Dlyd 6 Postado Novembro 8, 2008 Share Postado Novembro 8, 2008 Título irregular. Leia as regras e poste corretamente. Fechado. Link para o comentário Compartilhar em outros sites More sharing options...
Posts Recomendados