Postado Agosto 26, 2013 11 anos V1 - Por Notle2012 Vá em: data\talkactions\scripts\nomedoarquivo.lua e adicione dentro: function onSay(cid,words,param) local pokemons = getCreatureSummons(cid) if #pokemons == 0 then return doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Tira Seu Pokemon Da Ball.") end doCreatureSay(getCreatureSummons(cid)[1],param,TALKTYPE_SAY) return true end Agora vá em: data\talkactions\talkactions.xml e cole em qualquer lugar: <talkaction words="!x" event="script" value="nomedoarquivo.lua"/> Exemplo pokemon falando: V2 - Notle2012 Vá em: data\talkactions\scripts\nomedoarquivo.lua e adicione isso dentro: local Fpoke = {"Mewtwo","Meowth","Entei","Alakazam","Gengar"} -- Aqui Coloca Os Pokemon Que Vai Falar function onSay(cid,words,param) local pokemons = getCreatureSummons(cid) if #pokemons == 0 then return doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "your pokemon is not out of the ball") end if table.find(Fpoke, getCreatureName(getCreatureSummons(cid)[1])) then doCreatureSay(getCreatureSummons(cid)[1],param,TALKTYPE_MONSTER) else doPlayerSendCancel(cid,"That Pokemon Do not Speak.") end return true end Agora va em: data\talkactions\talkactions.xml e adicione em qualquer lugar: <talkaction words="!x" event="script" value="nomedoarquivo.lua"/> Nessa V2 apenas Mewtwo,Meowth,Entei, Alakazam e o Gengar que fala. Para adicionar mais pokemons falantes é somente modificar: local Fpoke = {"Mewtwo","Meowth","Entei","Alakazam","Gengar"} Exemplo: local Fpoke = {"Mewtwo","Meowth","Entei","Alakazam","Gengar","Magmar","Magikarp"} Para todos pokemons falaram: local Fpoke = {"Bulbasaur", "Ivysaur", "Oddish", "Gloom", "Bellsprout", "Weepinbell", "Exeggcute", "Chikorita", "Bayleef", "Hoppip", "Skiploom", "Sunkern", "Squirtle", "Wartortle", "Horsea", "Goldeen", "Magikarp", "Psyduck", "Poliwag", "Poliwhirl", "Tentacool", "Krabby", "Staryu", "Omanyte", "Eevee", "Totodile", "Croconow", "Chinchou", "Marill", "Wooper", "Slowpoke", "Remoraid", "Seadra", "Zubat", "Ekans", "Nidoran male", "Nidoran female", "Nidorino", "Nidorina", "Gloom", "Venonat", "Tentacool", "Grimer", "Koffing", "Spinarak", "Golbat", "Magnemite", "Pikachu", "Voltorb", "Eevee", "Chinchou", "Pichu", "Mareep", "Flaaffy", "Geodude", "Graveler", "Rhyhorn", "Kabuto", "Slugma", "Machop", "Machoke", "Mankey", "Poliwhirl", "Tyrogue", "Charmander", "Charmeleon", "Vulpix", "Growlithe", "Ponyta", "Eevee", "Cyndaquil", "Quilava", "Slugma", "Houndour", "Caterpie", "Metapod", "Weedle", "Kakuna", "Paras", "Venonat", "Scyther", "Ledyba", "Spinarak", "Pineco", "Dratini", "Dragonair", "Magikarp", "Omanyte", "Kabuto", "Seadra", "Gastly", "Haunter", "Eevee", "Houndour", "Caterpie", "Metapod", "Weedle", "Kakuna", "Paras", "Venonat", "Scyther", "Ledyba", "Spinarak", "Pineco", "Dratini", "Dragonair", "Magikarp", "Omanyte", "Kabuto", "Seadra", "Gastly", "Haunter", "Eevee", "Houndour", "Cubone", "Sandshrew", "Nidorino", "Nidorina", "Diglett", "Onix", "Rhyhorn", "Wooper", "Swinub", "Phanpy", "Abra", "Kadabra", "Psyduck", "Slowpoke", "Drowzee", "Eevee", "Natu", "Smoochum", "Rattata", "Pidgey", "Pidgeotto", "Spearow", "Clefairy", "Jigglypuff", "Meowth", "Doduo", "Porygon", "Chansey", "Sentret", "Hoothoot", "Cleffa", "Igglybuff", "Togepi", "Snubull", "Teddiursa", "Seel", "Shellder", "Smoochum", "Swinub", "Porygon", "Shiny Charmander", "Shiny Charmeleon", "Shiny Vulpix", "Shiny Growlithe", "Shiny Ponyta", "Shiny Eevee", "Shiny Squirtle", "Shiny Wartortle", "Shiny Horsea", "Shiny Goldeen", "Shiny Magikarp", "Shiny Psyduck", "Shiny Poliwag", "Shiny Poliwhirl", "Shiny Tentacool", "Shiny Krabby", "Shiny Staryu", "Shiny Omanyte", "Shiny Eevee", "Shiny Bulbasaur", "Shiny Ivysaur", "Shiny Oddish", "Shiny Gloom", "Shiny Bellsprout", "Shiny Weepinbell", "Shiny Exeggcute", "Shiny Rattata", "Shiny Pidgey", "Shiny Pidgeotto", "Shiny Spearow", "Shiny Clefairy", "Shiny Jigglypuff", "Shiny Meowth", "Shiny Doduo", "Shiny Porygon", "Shiny Chansey", "Shiny Abra", "Shiny Kadabra", "Shiny Psyduck", "Shiny Slowpoke", "Shiny Drowzee", "Shiny Eevee", "Shiny Geodude", "Shiny Graveler", "Shiny Rhyhorn", "Shiny Kabuto", "Shiny Zubat", "Shiny Ekans", "Shiny Nidoran male", "Shiny Nidoran female", "Shiny Nidorino", "Shiny Nidorina", "Shiny Gloom", "Shiny Venonat", "Shiny Tentacool", "Shiny Grimer", "Shiny Koffing", "Shiny Seel", "Shiny Shellder", "Shiny Magnemite", "Shiny Pikachu", "Shiny Voltorb", "Shiny Eevee", "Shiny Dratini", "Shiny Dragonair", "Shiny Magikarp", "Shiny Omanyte", "Shiny Kabuto", "Shiny Caterpie", "Shiny Metapod", "Shiny Weedle", "Shiny Kakuna", "Shiny Paras", "Shiny Venonat", "Shiny Scyther", "Shiny Gastly", "Shiny Haunter", "Shiny Eevee", "Shiny Machop", "Shiny Machoke", "Shiny Mankey", "Shiny Poliwhirl", "Shiny Cubone", "Shiny Sandshrew", "Shiny Nidorino", "Shiny Nidorina", "Shiny Diglett", "Shiny Onix", "Shiny Rhyhorn"} Credito a Notle2012. "O fracasso é a oportunidade de se começar de novo inteligentemente" Minhas Redes Sociais: Youtube | Página & Grupo | Steam | Discord TibiaKing
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.