Por hassio, 08 de nov. de 2008 em Archived
info
Grupo: Campones
Registrado: 20/03/07
Posts: 68
Reputação: +1
Ae galera eu tava querendo colocar uma quest com uniqueid que tivesse uma backpack com dois items dentro..
alguem sabe fazer?
(eu to querendo colocar o Golden bow[7438] com a Sniper Arrow[7364])
-- 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,"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,"Sword of the Damned.")
doPlayerAddItem(cid,7959,1)
return 0
return 1
info
Grupo: Campones
Registrado: 20/03/07
Posts: 68
Reputação: +1
Ae galera eu tava querendo colocar uma quest com uniqueid que tivesse uma backpack com dois items dentro..
alguem sabe fazer?
(eu to querendo colocar o Golden bow[7438] com a Sniper Arrow[7364])