Postado Janeiro 6, 2018 7 anos Autor Em 06/01/2018 em 01:55, Gnius disse: Poste aaqui a script da segunda quest por favor. function onUse (cid,item,frompos,item2,topos) if getPlayerLevel(cid) >= 70 then if item.uid == 10002 then queststatus = getPlayerStorageValue(cid,71786) if queststatus == -1 then doPlayerSendTextMessage(cid,22,"Parabens Você ganhou uma Knight Legs.") doPlayerAddItem(cid,2477,1) setPlayerStorageValue(cid,71786,1) doSendMagicEffect(getThingPos(cid), 29) else doPlayerSendTextMessage(cid,22,"Você ja completou a quest.") end end else doPlayerSendCancel(cid,'Somente Levels 70+ conseguem abrir este bau.') end return 1 end
Postado Janeiro 6, 2018 7 anos Tenta assim <quests> <quest name="KnightQuest1" startstorageid="72785" startstoragevalue="0"> <mission name="KnightQuest1" storageid="72785" startvalue="1" endvalue="1"> <missionstate id="1" description="Complete a quest e ganhe uma Knight Armor." /> </mission> </quest> <quest name="KnightQuest2" startstorageid="71786" startstoragevalue="1"> <mission name="KnightQuest2" storageid="71786" startvalue="1" endvalue="1"> <missionstate id="1" description="Complete a quest e ganhe uma Knight Legs." /> </mission>
Postado Janeiro 7, 2018 7 anos Autor @Gnius No caso da Annihilator que tem quatro baús, você sabe como fazer? A que a gente estava fazendo só era pra um báu (startstorageid="72785")
Postado Janeiro 7, 2018 7 anos Poste aki a script para que eu crie pra você e tambem mostrar como faço
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.