Postado Setembro 22, 2013 11 anos Autor @daaniel puxa kra me ajudou mt msm vlw REP+ @Reall Deads vlw tbm kra mas ja tinha conseguido^^ PODEM FEXAR LE TOPICO Editado Setembro 22, 2013 11 anos por Dark Orochi (veja o histórico de edições) "Aqueles quem vivem na ignorancia se mantem numa realidade sombria." Misaki Mei
Postado Setembro 22, 2013 11 anos Dúvida sanada, tag adicionada. Tópico movido! Ot Design: https://discord.gg/VgtVRNmCD7
Postado Julho 27, 2014 10 anos alguem me ajuda pfv,eu tenho um poketibia mas na hora de fazer as quests eu n sei colocar um pokemon no bau pra quando o player for abrir o bau ele ganhar o poke q colokei la alguem fala como eu coloko um pokemon la no bau pfv
Postado Julho 7, 2015 9 anos Bom de todo jeito. Box: Vai em actions/scripts copia qualquer script.lua renomeie para box4.lua e cole isso dentro: function onUse(cid, item, frompos, item2, topos) local box = { [1] ={msg = "Voce Abriu New Box Ganhou Absol",np = 'Absol Pokeball'}, [2] ={msg = "Voce Abriu New Box Ganhou Tropius",np = 'Tropius Pokeball'}, [3] ={msg = "Voce Abriu New Box Ganhou Shiftry",np = 'Shiftry Pokeball'}, [4] ={msg = "Voce Abriu New Box Ganhou Miltank",np = 'Miltank Pokeball'}, [5] ={msg = "Voce Abriu New Box Ganhou Blaziken",np = 'Blaziken Pokeball'}, [6] ={msg = "Voce Abriu New Box Ganhou Anorith",np = 'Anorith Pokeball'}, [7] ={msg = "Voce Abriu New Box Ganhou Armaldo",np = 'Armaldo Pokeball'}, [8] ={msg = "Voce Abriu New Box Ganhou Combusken",np = 'Combusken Pokeball'}, [9] ={msg = "Voce Abriu New Box Ganhou Cradily",np = 'Cradily Pokeball'}, [10] ={msg = "Voce Abriu New Box Ganhou Flygon",np = 'Flygon Pokeball'}, [11] ={msg = "Voce Abriu New Box Ganhou Gallade",np = 'Gallade Pokeball'}, [12] ={msg = "Voce Abriu New Box Ganhou Gardevoir",np = 'Gardevoir Pokeball'}, [13] ={msg = "Voce Abriu New Box Ganhou Glalie",np = 'Glalie Pokeball'}, [14] ={msg = "Voce Abriu New Box Ganhou Grovyle",np = 'Grovyle Pokeball'}, [15] ={msg = "Voce Abriu New Box Ganhou Hariyama",np = 'Hariyama Pokeball'}, [16] ={msg = "Voce Abriu New Box Ganhou Kirlia",np = 'Kirlia Pokeball'}, [17] ={msg = "Voce Abriu New Box Ganhou Marshtomp",np = 'Marshtomp Pokeball'}, [18] ={msg = "Voce Abriu New Box Ganhou Metagross",np = 'Metagross Pokeball'}, [19] ={msg = "Voce Abriu New Box Ganhou Metang",np = 'Metang Pokeball'}, [20] ={msg = "Voce Abriu New Box Ganhou Mudkip",np = 'Mudkip Pokeball'}, [21] ={msg = "Voce Abriu New Box Ganhou Sceptile",np = 'Sceptile Pokeball'}, [22] ={msg = "Voce Abriu New Box Ganhou Snorunt",np = 'Snorunt Pokeball'}, [23] ={msg = "Voce Abriu New Box Ganhou Swampert",np = 'Swampert Pokeball'}, [24] ={msg = "Voce Abriu New Box Ganhou Torchic",np = 'Torchic Pokeball'}, [25] ={msg = "Voce Abriu New Box Ganhou Treecko",np = 'Treecko Pokeball'}, [26] ={msg = "Voce Abriu New Box Ganhou Vibrava",np = 'Vibrava Pokeball'}, } local level = 100 local e = box[math.random(1,28)] local boxid = 2531 if getPlayerLevel(cid) >= level then doPlayerSendTextMessage(cid,22,e.msg) b = doPlayerAddItem(cid, boxid, 1) doItemSetAttribute(b, "name", e.np) doRemoveItem(item.uid, 1) else doPlayerSendCancel(cid, "You must be at least level "..level.." to use this box.") end return TRUE end Pokemons da Box. Level para abrir a Box. ID da Box. Agora vai em Actions.xml e cola essa tag: Agora vai em Actions/scripts copia qualquer scripts e renomeie para questbox4.lua e cole isso dentro: function onUse(cid, item, frompos, item2, topos) if item.uid == 2018 then queststatus = getPlayerStorageValue(cid,2018) if getPlayerLevel(cid) >= 80 then if queststatus == -1 or queststatus == 0 then doPlayerSendTextMessage(cid,22,"You received an box [+4].") item_uid = doPlayerAddItem(cid,7888,1) setPlayerStorageValue(cid,2018,1) else doPlayerSendTextMessage(cid,22,"It is empty.") end else doPlayerSendCancel(cid,"You need level 80 or higher, to make this quest.") end else return 0 end return 1 end Agora vai em actions.xml e cola essa tag: Qualquer duvida posta ae. Fiz meio com pressa pq não to em ksa '-' Cara fiz tudo que esta ai mais nao funcionou :| nada acontece quando tento abrir a box e nada acontece no bau da quest. Cara fiz tudo que esta ai mais nao funcionou :| nada acontece quando tento abrir a box e nada acontece no bau da quest. Na verdade a parte da quest eu arrumei. só falta fazer a box da o pokemons ela simplesmente n faz nada.
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.