Ajuda

hassio
Por hassio
em Lixeira Pública

hassio

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 20/03/07Posts: 68

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

\/--------------SIGN--------------\/

/\--------------SIGN--------------/\

Orkut:http://www.orkut.com/Home.aspx?xid=18176939964270698653

Dlyd

quer me fuder me beija
avatar
Visconde
Visconde

INFOS

Grupo: ViscondeRegistrado: 10/03/08Posts: 315

Título irregular.

Leia as regras e poste corretamente.

 

Fechado.

Hoje é dia de tomar uma! - Shakespeare