Por hassio, 08 de nov. de 2008 em Archived
info
Grupo: Campones
Registrado: 20/03/07
Posts: 68
Reputação: +1
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
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
doPlayerSendTextMessage(cid,22,"DsL")
doPlayerAddItem(cid,2469,1)
elseif item.uid == 7111 then
doPlayerSendTextMessage(cid,22,"You have found Holly Wand.")
doPlayerAddItem(cid,7410,1)
elseif item.uid == 7102 then
doPlayerSendTextMessage(cid,22,"Heaven axe.")
doPlayerAddItem(cid,7411,1)
elseif item.uid == 7103 then
doPlayerSendTextMessage(cid,22,"shadow sceptre.")
doPlayerAddItem(cid,7451,1)
elseif item.uid == 7109 then
doPlayerSendTextMessage(cid,22,"Golden Bow.")
doPlayerAddItem(cid,7438,1)
elseif item.uid == 7107 then
doPlayerSendTextMessage(cid,22,"You have found Sword of the Damned.")
doPlayerAddItem(cid,7959,1)
return 0
return 1
Grupo: Visconde
Registrado: 09/03/08
Posts: 315
Reputação: +6
Título irregular.
Leia as regras e poste corretamente.
Fechado.
info
Grupo: Campones
Registrado: 20/03/07
Posts: 68
Reputação: +1
Como eu faço uma quest com uma Bp com 2 items dentro dela?
aqui ta o seguinte