BR

A Quest Nao Pega

Por brendorox, 09 de abr. de 2011 em Archived

script
9
973
brendoroxB
09 de abril de 2011 às 16:44

Gente olha so essa e a ultima quest que eu fis black baiak bolter dai ela pego e tals ate ake o script

 

function onUse(cid, item, frompos, item2, topos)

if item.uid == 10099 then

queststatus = getPlayerStorageValue(cid,90999)

if queststatus == -1 then

doPlayerSendTextMessage(cid,22,"Você Ganhou Um Black Baiak Bolter!.")

doPlayerAddItem(cid,8850,1 )

setPlayerStorageValue(cid,90999,1)

else

doPlayerSendTextMessage(cid,22,"Você ja fez essa quest!")

end

else

return 0

end

return 1

end

 

 

 

 

MAS DAI FIS OTRA QUEST BLACK RING E NAO PEGO

 

function onUse(cid, item, frompos, item2, topos)

if item.uid == 10101 then

queststatus = getPlayerStorageValue(cid,90978)

if queststatus == -1 then

doPlayerSendTextMessage(cid,22,"Você Ganhou Um Black Ring!.")

doPlayerAddItem(cid,10502,1 )

setPlayerStorageValue(cid,90978,1)

else

doPlayerSendTextMessage(cid,22,"Você ja fez essa quest!")

end

else

return 0

end

return 1

end

return 1

end

 

 

 

ME AJUDEM POR FAVOR

 

alguem responde

09 de abril de 2011 às 16:54

function onUse(cid, item, frompos, item2, topos)

if item.uid == 10101 then
queststatus = getPlayerStorageValue(cid,90978)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"Você Ganhou Um Black Ring!")
doPlayerAddItem(cid,10502,1)
setPlayerStorageValue(cid,90978,1)
else
doPlayerSendTextMessage(cid,22,"Você ja fez essa quest!")
end
return 1
end 
return 1
end

 

Você tinha colocado um else return 1 end a mais.

 

Você postou na seção errada, vou reportar para que movam. Tenha mais cuidado na próxima vez.

brendoroxB
09 de abril de 2011 às 17:05

mesmo depois doq vc falo eu pus e fui tenta a quest dai o bau eu clico nele e n aconteçe nada

09 de abril de 2011 às 17:06

Você colocou o uniqueid no baú pelo map editor e na tag?

brendoroxB
09 de abril de 2011 às 18:46

Coloquei s amigo

 

Fis tudo certo

Editado Abril 9 por brendohehe

meubkM
09 de abril de 2011 às 19:08

function onUse(cid, item, frompos, item2, topos)
queststatus = getPlayerStorageValue(cid,90978)
if queststatus ~= 1 then
	doPlayerSendTextMessage(cid,22,"Você Ganhou Um Black Ring!")
	doPlayerAddItem(cid,10502,1)
	setPlayerStorageValue(cid,90978,1)
else
	doPlayerSendTextMessage(cid,22,"Você ja fez essa quest!")
end
return true
end 

 

na tag vc ponha:

<action uniqueid="UNIQUE ID COLOCADO NO MAP EDITOR" event="script" value="NOMI DO SCRIPT.lua"/>

Editado Abril 9 por xotservx

brendoroxB
09 de abril de 2011 às 19:25

Nao adianto nada ainda eu clico no bau e como se tivesse paralisado n aconteçe nada

09 de abril de 2011 às 19:36

Tente trocar a tag para esta:

 

<action actionid="UNIQUE ID COLOCADO NO MAP EDITOR" event="script" value="NOME DO SCRIPT.lua"/>

 

Use o script do xotservx.

Editado Abril 9 por Demonbholder

brendoroxB
09 de abril de 2011 às 22:01

Ja tentei deu a mesma merda

Axo qe deve se algum bug pq esses script ta certo e o meu antigo tambem tava

 

responde

 

af

Editado Abril 9 por brendohehe