Postado Abril 14, 2015 10 anos Tenta assim function onStepIn(cid, item, position, lastPosition) --if(item.uid == 3087) then --if(getPlayerStorageValue(cid, 30) == 51) then setPlayerStorageValue(cid, 30, 52) setPlayerStorageValue(cid, 12021, 3) -- StorageValue for Questlog "Mission 10: The Final Battle" doCreatureSay(cid, "It seems by defeating Azerus you have stopped this army from entering your world! Better leave this ghastly place forever.", TALKTYPE_ORANGE_1) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MAGIC_BLUE) --end --end return true end Precisa de ajuda? Poste a versão de seu TFS. ************************************************************************************************************* Servidores? Eu indico: Use o cupom TIBIAKING e receba 50% de desconto na primeira mensalidade! Pague menos de R$ 19,00 no primeiro mês!
Postado Abril 14, 2015 10 anos Tenta assim function onStepIn(cid, item, position, lastPosition) --if(item.uid == 3087) then --if(getPlayerStorageValue(cid, 30) == 51) then setPlayerStorageValue(cid, 30, 52) setPlayerStorageValue(cid, 12021, 3) -- StorageValue for Questlog "Mission 10: The Final Battle" doCreatureSay(cid, "It seems by defeating Azerus you have stopped this army from entering your world! Better leave this ghastly place forever.", TALKTYPE_ORANGE_1) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MAGIC_BLUE) --end --end return true end Cara, você não fez nada, além de remover a identação do script e não colocar em codes, isso está do mesmo modo que ele nos enviou. _ .-'` `} _./) / } .'o \ | } '.___.'`.\ {` /`\_/ , `. } ME DA UMA NOZ! \=' .-' _`\ { `'`;/ `, } _\ @ ; } /__`;-...'--' Cluck!
Postado Abril 14, 2015 10 anos Acho que é assim: function onStepIn(cid, item, position, lastPosition) --if(item.uid == 3087) then if(getPlayerStorageValue(cid, 30) == 51) then setPlayerStorageValue(cid, 30, 52) Player(cid):setStorageValue(12021, 3) -- StorageValue for Questlog "Mission 10: The Final Battle" doCreatureSay(cid, "It seems by defeating Azerus you have stopped this army from entering your world! Better leave this ghastly place forever.", TALKTYPE_ORANGE_1) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MAGIC_BLUE) end --end return true end Você ta cego? alterei a forma de de setar a storage! @arthur122222, pode testar o ultimo script que acho que agr vai setPlayerStorageValue(cid, 12021, 3) Precisa de ajuda? Poste a versão de seu TFS. ************************************************************************************************************* Servidores? Eu indico: Use o cupom TIBIAKING e receba 50% de desconto na primeira mensalidade! Pague menos de R$ 19,00 no primeiro mês!
Postado Abril 14, 2015 10 anos Acho que é assim: function onStepIn(cid, item, position, lastPosition) --if(item.uid == 3087) then if(getPlayerStorageValue(cid, 30) == 51) then setPlayerStorageValue(cid, 30, 52) Player(cid):setStorageValue(12021, 3) -- StorageValue for Questlog "Mission 10: The Final Battle" doCreatureSay(cid, "It seems by defeating Azerus you have stopped this army from entering your world! Better leave this ghastly place forever.", TALKTYPE_ORANGE_1) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MAGIC_BLUE) end --end return true end Como disse antes... Basicamente você fez a mesma coisa que tentamos, leia tudo e depois venha tentar responder. _ .-'` `} _./) / } .'o \ | } '.___.'`.\ {` /`\_/ , `. } ME DA UMA NOZ! \=' .-' _`\ { `'`;/ `, } _\ @ ; } /__`;-...'--' Cluck!
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.