Ir para conteúdo

Pesquisar na Comunidade

Mostrando resultados para as tags ''talkaction''.

  • Pesquisar por Tags

    Digite tags separadas por vírgulas
  • Pesquisar por Autor

Tipo de Conteúdo


Fóruns

  • xTibia - Notícias e Suporte
    • Regras
    • Noticias
    • Soluções
    • Projetos Patrocinados
    • Tutoriais para Iniciantes
    • Imprensa
  • OTServ
    • Notícias e Debates
    • OTServlist
    • Downloads
    • Recursos
    • Suporte
    • Pedidos
    • Show-Off
    • Tutoriais
  • OFF-Topic
    • Barzinho do Éks
    • Design
    • Informática

Encontrar resultados em...

Encontrar resultados que contenham...


Data de Criação

  • Início

    FIM


Data de Atualização

  • Início

    FIM


Filtrar pelo número de...

Data de Registro

  • Início

    FIM


Grupo


Sou

  1. Bom, hoje venho trazendo 3 scripts, claro, sei que os 2 primeiros se não me engano já existem aqui no xtibia. Porém o Outifit Slot não está aqui ainda e os outros 2 veêm com uma inovação. Vamos ao que interessa: ⁞⁞ • Outifit Party • ⁞⁞ Como funciona, é bem simples, ele troca o outifit dos membros da party: <talkaction words="!party" event="script" value="YourScriptName.lua"/> ____________________________ ⁞⁞ • Outifit Guild • ⁞⁞ Também funciona da mesma maneira do script acima, bããs, troca o outifit de todos os membros da guild (apenas leaders podem usar) <talkaction words="!guildoutifit" event="script" value="YourScriptName.lua"/> ⁞⁞ • Outifit Slot • ⁞⁞ Esta é a inovação perante aos 3 scripts. Bom o outifit slot funciona dessa maneira: O Player fala '!outifit 1, save' daí o outifit que ele estiver usando, salvará e daí ele pode salvar até 5 outifits. (!outifit 2, save) Para vestir a roupa após salvo, basta dizer !outifit 1. <talkaction words="!outifit" event="script" value="YourScriptName.lua"/>
  2. Reset Vocation System Sisteme de reset igual do rozinx 8.60 pra quem nunca viu o sistema entra ae> rorinz.servegame.com // raiva.servegame.com Vá em data/talkaction/script e copie qualquer arquive e cole isso dentro: o sistema de reset não vai funcionar para poder funcionar vá em creaturescript/script/login.lua e adicione isso antes do ultimo return true : Créditos: 90% VodKart 10% A mim por ajuster ATENÇÃO= Duvidas sobre o Script falar com o Vodkard pois ele que configurou pra mim.... Não sou script só sei apenas mudar nomes etc coisas de noob msm kkk' Grato!!! Vim apenas disponibilizar o sistema pra vocês pois sou muito atencioso com aqueles que tentam copiar o mapa tão famoso do Rozinx ;D Gostou então da um REP+ Da um Rep+ ae quem gosto do sistema de reset pois vi que varias pessoas estavam pedindo então se ajudei vcs não custa nada me ajudar tb Rep+ ae pra mim
  3. This is simple presonal rank command! (!myrank). It shows your position [level sorted by exp] in server. This is my second script so please don't insult me ; p In talkactions\scripts\simplerank.lua: PHP Code: -- simple personal ranking -- Created by Layflette/Fec/3dzio function onSay(cid, words, param) local best_list = db.getResult("SELECT `level`,`name` FROM `players` WHERE `group_id` < '2' AND `account_id` > '1' ORDER BY `experience` DESC;") local player_name = getPlayerName(cid) local count = 1 if best_list:getID() ~= -1 then while true do local currName = best_list:getDataString('name') if currName == player_name then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, 'You are in the ' .. count .. ' place !') else count = count + 1 end if not best_list:next() then break end end end best_list:free() return TRUE end In talkactions.xml add PHP Code: <talkaction words="!myrank" script="simplerank.lua"/> Tested on tfs 0.2.15.r102 mystic spirit. GOOD OT-SERVER = MUCH PLAYERS! GET DEDICATED SERVER WITH DDOS PROTECTION UP TO 10 GB/S HERE: from http://otland.net
  4. Com esse sistema o GOD poderá leiloar um item e assim da uma otima diversão para os players do seu server! Usando o comando /leilao id do item, quantidade, lance minimo ex: /leilao 2494 "demon armor", 1, 30000 ! Passo a Passo: 1º Vá em Data/talkactions/scripts e crie um arquivo leilao.lua e cole isso dentro dele: 2º Agora vá em Data/talkactions/talkactions.xml e adicione essa tag: Test: Créditos: Alemaooxd Skymagnum Vodkart OBS.: Pode ser que alguns itens dê debug quando você usar o comandos "!lance lista" para ver quem está comprando o item no exato momento... E mais uma coisa, lembrem-se que quando você vai dar um lance o dinheiro é descontado na mesma hora, para não acontecer de alguem arrematar o item e não ter o dinheiro para pagar, resumindo se você der um lance de 10k e outro player vier e der um lance maior, quando você for dar outro lance será descontado tudo denovo, ou seja, os primeiros 10k que você der de lance é dado como perdido! Espero que tenham entendido! Abraços Se te ajudei da um "Rep +" Não dói não Dr.
  5. algumas imagens = ] Bom..essa é a versão 1.1 do meu script a versão anterior voce pode acha-la aqui.. http://www.xtibia.com/forum/topic/217778-v10-summon-monster/ Mais iai, oque mudou na versão 1.1? Agora modifiquei um pouco o SCRIPT, exemplo.. agora voce pode colokar 10-20 bixos em cada pos, ai o script começa rodar ele escolhe 1 bixo "monstro" que voce colokou na tabela.. Agora não é mais 1 bixo exato que nasce e sim é variavel e configuravel. Agora fico facil e rapido para voce mesmo editar as msg de quando o evento irá iniciar,e iniciou.. Também colokei para manda MSG pro servidor todo quais bixos forão "sumonado" nesse evento. (creditos = > slicer). Vamos ao script.. talkactions/script/ copie qualquer arquivo e renomei para v1.1 start event.lua e coloka isso lá.. Agora a TAG. <talkaction words="!start;/start" script="v1.1 start event.lua"/>
  6. a imagem do erro: https://fbcdn-sphotos-f-a.akamaihd.net/hphotos-ak-ash4/q71/s720x720/995747_489571737790827_1314970265_n.jpg Script: tapion1 = {lookType=446} tapion2 = {lookType=447} tapion3 = {lookType=448} tapion4 = {lookType=449} tapion5 = {lookType=450} tapion6 = {lookType=451} tapion7 = {lookType=452} tapion8 = {lookType=453} tapion9 = {lookType=454} tapion10 = {lookType=455} tapion11 = {lookType=456} ---Tapion--- function trans(cid) if getPlayerVocation(cid) == 446 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(trans,ext,cid) end end end function trans(cid) if getPlayerVocation(cid) == 447 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 13) addEvent(trans,ext,cid) end end end function trans(cid) if getPlayerVocation(cid) == 448 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 13) addEvent(trans,ext,cid) end end end function trans1(cid) if getPlayerVocation(cid) == 449 then if getPlayerMana(cid) >= 0 then addEvent(trans1,ext,cid) end end end function trans1(cid) if getPlayerVocation(cid) == 450 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(trans1,ext,cid) end end end function trans1(cid) if getPlayerVocation(cid) == 451 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 191) addEvent(trans1,ext,cid) end end end function trans2(cid) if getPlayerVocation(cid) == 452 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 191) addEvent(trans2,ext,cid) end end end function trans2(cid) if getPlayerVocation(cid) == 453 then if getPlayerMana(cid) >= 0 then addEvent(trans1,ext,cid) end end end function trans2(cid) if getPlayerVocation(cid) == 454 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 191) addEvent(trans2,ext,cid) end end end function trans3(cid) if getPlayerVocation(cid) == 455 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(trans3,ext,cid) end end end function trans3(cid) if getPlayerVocation(cid) == 456 then if getPlayerMana(cid) >= 0 then addEvent(trans1,ext,cid) end end end
  7. o erro que da Vocation Tapion tapion1 = {lookType=446} tapion2 = {lookType=447} tapion3 = {lookType=448} tapion4 = {lookType=449} tapion5 = {lookType=450} tapion6 = {lookType=451} tapion7 = {lookType=452} tapion8 = {lookType=453} tapion9 = {lookType=454} tapion10 = {lookType=455} tapion11 = {lookType=456} Tranform Bugada ---Tapion--- function trans(cid) if getPlayerVocation(cid) == 446 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(trans,ext,cid) end end end function trans(cid) if getPlayerVocation(cid) == 447 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 13) addEvent(trans,ext,cid) end end end function trans(cid) if getPlayerVocation(cid) == 448 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 13) addEvent(trans,ext,cid) end end end function trans1(cid) if getPlayerVocation(cid) == 449 then if getPlayerMana(cid) >= 0 then addEvent(trans1,ext,cid) end end end function trans1(cid) if getPlayerVocation(cid) == 450 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 14) addEvent(trans1,ext,cid) end end end function trans1(cid) if getPlayerVocation(cid) == 451 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 191) addEvent(trans1,ext,cid) end end end function trans2(cid) if getPlayerVocation(cid) == 452 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 191) addEvent(trans2,ext,cid) end end end function trans2(cid) if getPlayerVocation(cid) == 453 then if getPlayerMana(cid) >= 0 then addEvent(trans1,ext,cid) end end end function trans2(cid) if getPlayerVocation(cid) == 454 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 191) addEvent(trans2,ext,cid) end end end function trans3(cid) if getPlayerVocation(cid) == 455 then if getPlayerMana(cid) >= 0 then doSendMagicEffect(getPlayerPosition(cid), 180) addEvent(trans3,ext,cid) end end end function trans3(cid) if getPlayerVocation(cid) == 456 then if getPlayerMana(cid) >= 0 then addEvent(trans1,ext,cid) end end end obs:ele ja foi adicionado mais nao da pra dar transform ou transformar fala que ele nao foi adicionado,script e outfit ja foram adicionada
  8. gostaria de um script que voce fala !kill Demon -> mostra quantos demons voce matou !kill dragon -> mostra quantos dragons e assim por diante mas todos os monstros alguem poderia me ajudar?
  9. EU TENHO A CLASS NO MEU WODBO MAIS EU NAO SIGO FAZER ELA TRANSFORMAR TIPO O TAPION NAO CONSIGO FAZER ELE VIRA TAPION2.!ME AJUDA MAIS FAST POSSÍVEL EU DO REP+
  10. Olá galera fiquei um tempo fora mais voltei então let's go O que o script ira fazer ? Simplesmente o comando ira comprar outift com talkaction ! Então vamos lá Vá em data / scripts / talkactions / renomeie alguem arquivo para outiftbuy.lua é adicione function onSay(cid, words, param) local storage = 30193 -- mão mexa local itemid = 2160 -- id do item que vai remover local count = 5 -- quantidade do item que vai remover local looktype = 75 -- O Looktype da outift que vai ser vendida if getPlayerStorageValue(cid, storage) >= 1 then doPlayerSendTextMessage(cid, 22, "Desculpe voce ja comprou essa outift") return true end if doPlayerRemoveItem(cid,itemid,count) then doPlayerSendTextMessage(cid, 22, "Você não tem dinheiro suficiente") return true end doPlayerAddOutfit(cid,looktype,3) setPlayerStorageValue(cid, storage, 1) doPlayerSendTextMessage(cid, 22, "Você comprou a outift") return true end Em talkactions.xml <talkaction words="!outift" event="script" value="outiftbuy.lua"/> Espero que gostem !
  11. Galera eu estou criando um servidor totalmente RPG e preciso da ajuda de vocês, gostaria de saber se tem como criar um script que não divide a experiencia do monstro quando os players o matam. Exemplo: criei um bicho que chama blackion, ele da 20 de xp, ao inves da experiencia ser dividia 10 para cada player gostaria que perma nesses "20" incentivando a caça em grupo... esse é o primeiro topico não sei se esta na area certa, caso esteja erado por favor ajudem Shadow's Revenger: ServRPG
  12. queria instalar em meu serv um sistema de qgs entao e o seguinte nele contem actions e talkactions axo.. e asim 1 casa com respaw q so o dono q compro-a podera upar.. entao vou explicar como tem que ser... primeira coisa o player tem q falar !qg e abrirá uma tabela q nem do spell book q lah contem os respaw possiveis para colocar no qg com isso o player solta ex (!qg Gorila ) e 1 mensagem ira aparecer ao player ("respaw mudado do qg para Gorila") depois o player tem q utilizar uma alavanca para ativar o respaw q qando utilizada aparece 1 mensagem ("respaw Ativado ) e asim tera lah dentro do qg umas areas q nasce o bicho q voce ativou... com isso o respaw e infinito e so podera ser mudado se o player usa a alavanca novamente... alguem ae pode me ajudar? pfv do mtos reps...+++
  13. Olá galerinha Xtibiana! A partir de um pedido, fiz esse sistema que "para o tempo" para os players que estiverem a vista do caster. Vamos ao script. Talkactions.xml: <talkaction words="stop time" event="script" filter="word-spaced" value="stoptime.lua"/> stoptime.lua: Creaturescripts.xml: <event type="logout" name="StopTime" event="script" value="stoptime.lua"/> stoptime.lua: Obrigado, até.
  14. Eu pressizo de un script quando vc fala tipo !evento iria aparecer as seguintes menssagens o chão esta tremendo.. a terra esta se abrindo.. um boss esta surgindo.. o boss morgaroth ira fica na cidade tal por 2 horas e depois iria aparecer os boos numa posição que eu colocasse auguem pode me ajudar ?
  15. Iae galera blz? nao vou enrolar vou logo começando.
  16. Versão do seu OTServ: 9.81 Dificuldade do pedido: fácil Oque deseja: Preciso de um comando para comprar skill só que não consigo. Comentários: Tenho um script que estava funcionando na versão 8.6 só que passei o servidor para 9.81 e agora o comando não esta funcionando. por favor esse script funcionava certinho na versão 8.6 mais já na versão 9.81 não funciona! +REP pra quem me ajudar! OBS: Primeira Vez que posto no Xtibia e não sei se esta na área correta se estiver em área errada por favor movam!
  17. Bom, ele se baseia em um sistema que o player que conseguir ficar encima do trono, ganha. yUJx4Sdn[/pastebin] Configuração: local THRONE_POS = {x = 1, y = 2, z = 3} aqui é a posição do trono. local walls = { {ID, POS}, {ID, POS}, } Aqui é aonde tranca o evento, ele só abre você deve colocar um teleport ali dentro. local DUR = 30 -- aqui e quantos minutos o evento vai durar, você pode cancelar usando !castle fechar. Você cria uma área com um trono/tile e configura a THRONE_POS para aquela posição, você pode cancelar o evento também. !castle fechar. Não foi testado, então qualquer bug favor reportar. TAG: <talkaction words = "!castle" access = "5" event = "script" value = "nome_do_script.lua"/> Para abrir use !castle abrir.
  18. Fala ai galera, vim trazer outro script, então vamos a ele. Serve para o player ter acesso a alguma coisa por certo tempo, o player compra o acesso por uma quantia estipulada no script. /data/talkactions/scripts/newfile.lua DfujTzXB[/pastebin] talkactions.xml <talkaction words = "!buyacess" event = "script" value = "newfile.lua"/> Para checar se a pessoa tem acesso. To check if the person has access, you use: if(getPlayerStorageValue(cid, 83922) - os.time() > 0) then. Para checar quantos dias de acesso a pessoa ainda tem. To check how many days the person still has access, you use: os.date("%d %B %Y %X", getPlayerStorageValue(cid, 83922)). Exemplo. Example: function onUse(cid, item, fromPosition, itemEx, toPosition) if(getPlayerStorageValue(cid, 83922) - os.time() > 0) then return doTeleportThing(cid, toPosition) end return doPlayerSendCancel(cid, "Sorry, you do not have access to it.") end Como usar. How to use: !buyacess 20. É isso ai, espero que gostem.
  19. Olá galerinha, vim trazer um reset system com stages/ou sem, você escolhe, é fácil configurar ele. /data/talkactions/scripts/resetSystem.lua adicione o seguinte conteúdo dentro: TAG: <talkaction words="!reset" event="script" value="resetSystem.lua"/> /data/creaturescripts/scripts/resetRank.lua: TAG: <talkaction words="!resets" event="script" value="resetRank.lua"/> /data/creaturescripts/scripts/resetLook.lua: TAG: <event type="look" name="showResets" event="script" value="resetLook.lua"/> login.lua: registerCreatureEvent(cid, "showResets") Qualquer erro postei ai galerinha galerosa. O rank é um script antigo do Jhon922 para o Simple Reputation System dele, eu só peguei e modifiquei as mensagens e storages.
  20. Não Sei se é a Area Certa Mais Vamos Lá Por Favor Se Não For Area Certa não Reporte Apenas Contate 1 Membro Da Equipe e Mande ele Por No Lugar Certo Por Favor Preciso de 1 Talkaction Tipo !addpromotion Fulano, 30 OU /addpromotion Fulano, 30 Que Adicione Promotion ao Player Sem Ser Por Npc Legenda Verde = Nome Do Player Legenda Azul = Dias Att: JackXan
  21. Boa Tarde, Xtibianos Este script é bem simples éo comando !vida eo !mana só que ele também pode ser usado ex: !mana apolo 13:50 Mana de [ Apolo ] atual: 5112 Mana de [ Apolo ] máxima: 19955 eo !vida 13:51 Vida de [ Apolo ] atual: 3505 Vida de [ Apolo ] máxima: 3505 !vida \/ function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "\nVida atual: " .. getCreatureHealth(cid) .. "\nVida máxima: " .. getCreatureMaxHealth(cid) .. "") return true end if isPremium(cid) == TRUE then local pid = getPlayerByNameWildcard(param) if(not pid or (isPlayerGhost(pid) and getPlayerGhostAccess(pid) > getPlayerGhostAccess(cid))) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "O jogador com o nome " .. param .. " não esta online ou não existe.") return true end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "\nVida de [ " .. getCreatureName(pid) .. " ] atual: " .. getCreatureHealth(pid) .. "\nVida de [ " .. getCreatureName(pid) .. " ] máxima: " .. getCreatureMaxHealth(pid) .. "") return true else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Apenas jogadores VIP podem utilizar este comando para visualizar informações de outros jogadores.") return true end end !mana function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "\nMana atual: " .. getCreatureMana(cid) .. "\nMana máxima: " .. getCreatureMaxMana(cid) .. "") return true end if isPremium(cid) == TRUE then local pid = getPlayerByNameWildcard(param) if(not pid or (isPlayerGhost(pid) and getPlayerGhostAccess(pid) > getPlayerGhostAccess(cid))) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "O jogador com o nome " .. param .. " não esta online ou não existe.") return true end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "\nMana de [ " .. getCreatureName(pid) .. " ] atual: " .. getCreatureMana(pid) .. "\nMana de [ " .. getCreatureName(pid) .. " ] máxima: " .. getCreatureMaxMana(pid) .. "") return true else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Apenas jogadores VIP podem utilizar este comando para visualizar informações de outros jogadores.") return true end end EM talkactions.xml <talkaction log="yes" words="!vida" event="script" value="vida.lua"/> <talkaction log="yes" words="!mana" event="script" value="mana.lua"/> Configurando /\ é só uma coisa que é para PREMIUM OU FREE if está linha if isPremium(cid) == TRUE then se for deixar para vip deixe assim e se for para free mude o TRUE para FALSE CREDITOS: NÃO SEI uhu se ajudei REP+ plx '-'
  22. Ola! estou precisando muito de uma coisa, mas nao sei ao certo como fazer isso, eu jogava um ot, que tinha uma magia chamada uber exori, magia normal, mas, voce podia comprar essa magia "VIP", voce comprava pelo site, e ja ia altomaticamente, mudava a aparencia da magia a força e o tamanho, só que o nome continuava o mesmo, o mesmo uber exori de antes, queria saber como se fas isso, pois estou querendo colocar no meu ot, por exemplo, eu tenho uma magia chamada Under Exori, e queria fazer o mesmo sistema da quele ot, quando um certo player comprace a magia (Com R$) eu daria a "permissao" para ele usar a "magia nova", que tem o mesmo nome, só nao sei como farei isso rrs, queria que voces me ajudacem, nao precisa nen ser na mesma magia, só preciso de uma talkaction seila, que de, de eu dar permissao para tal player usar tal magia, intenderam? por exemplo o player "X" nao é vip e usa a magia Under Exori normalmente, e um certo dia ele resolve comprar a magia Under Exori (Vip), entao eu poderia falar /underexorivip "PLAYER" e entao ele começaria a soltar o Under Exori só que vip, poderia ser ate outra magia se a mesma magia for complicado de mais, eu inventaria uma magia, e ao player tentar soltar ela, falaria que ele nao teria permissao, entao eu usava esse comando, e ele ganharia a permissao de soltar aquela magia (a permissao é permanente). Aguardo respostas, muito obrigado.
  23. Se estiver em área errada, Favor Mover! Galera, no meu otserv tem o Taunt System, em todas as outfits, mais quando eu digito !taunt aparece uma msg, Desculpe isso não é possivel, só que ingles Alguem sabe porque aparece isso? testei com todas as outfits RANK5 dos clan, testei ALL CLANS! Meu Script, OBS: Não sei por em Spoiler: local outfits = { [1413] = {1510, 1511, 1512},--volcanic male [1160] = {1689, 1690, 1691, 1692, 1693, 1694, 1695,1694, 1693, 1692, 1691, 1690},--raibolt male [1162] = {1696, 1697, 1698, 1699, 1700, 1699, 1698, 1697, 1696},--seavel male [1159] = {1701, 1702, 1703, 1704, 1705, 1704, 1703, 1702, 1701},--naturia male [1158] = {1710, 1711, 1709, 1708, 1707, 1706, 1707, 1708, 1709, 1709, 1711, 1710},--wingeon male [1751] = {1713, 1714, 1715, 1712, 1715, 1716, 1715, 1714, 1713},--malefic male [1155] = {1717, 1718, 1719, 1720, 1721, 1722, 1723, 1724, 1725},--Gardestrike male [1161] = {1727, 1728, 1729, 1730, 1731, 1732, 1733},--Psycraft male [1156] = {1735, 1736, 1737, 1738, 1739, 1734, 1738, 1737, 1736, 1735},--Orebound male [1153] = {1751, 1752, 1753, 1754, 1755, 1756, 1757, 1758, 1759, 1750},--malefic female [1146] = {1760, 1761, 1762, 1763, 1764, 1763, 1762, 1761, 1760},--Gardestrike female [1152] = {1765, 1766, 1767, 1768, 1769, 1770, 1771, 1772, 1773, 1765},--volcanic female [1151] = {1774, 1775, 1776, 1777, 1778, 1779, 1780},--seavel female [1149] = {1781, 1782, 1783, 1784, 1785, 1786, 1787, 1788, 1789, 1790, 1791},--Naturia female [1145] = {1792, 1793, 1794, 1795, 1796, 1797, 1798, 1799, 1800, 1792},--Psycraft female [1150] = {1801, 1802, 1803, 1804, 1805, 1804, 1803, 1802, 1801},--Orebound female [1147] = {1807, 1808, 1809, 1810, 1811, 1812, 1813, 1814, 1806},--Raibolt female [1148] = {1815, 1816, 1817, 1818, 1819, 1820, 1821, 1822, 1823, 1824},--Wingeon female [1183] = {1829, 1830, 1831, 1832, 1831, 1832},--police male [1184] = {1825, 1826, 1827, 1828, 1827, 1828},--police female } local premium = true --editado por min, somente premium usar taunt local intervalo_para_trocar_roupas = 2 * 200 -- em ms, 1 * 1000 = 1 segundo local function doChangeOutfit(cid, id, oldLook) if not isCreature(cid) then return true end local n = id or 1 local newOutfit = getCreatureOutfit(cid) newOutfit.lookType = outfits[oldLook][n] doSetCreatureOutfit(cid, newOutfit, -1) if n < #outfits[oldLook] then addEvent(doChangeOutfit, intervalo_para_trocar_roupas, cid, n + 1, oldLook) else doCreatureSetNoMove(cid, false) doRemoveCondition(cid, CONDITION_OUTFIT) end end function onSay(cid, words, param) if getCreatureCondition(cid, CONDITION_OUTFIT) and getCreatureNoMove(cid) then return true end -- somente premium usa taunt -- if isPlayer(cid) and not isPremium(cid) and premium == true then doPlayerSendCancel(cid, "Only premium members are allowed to taunt system.") return true end if not outfits[getCreatureOutfit(cid).lookType] then doPlayerSendCancel(cid, "Sorry,not possible.") return true end doCreatureSetNoMove(cid, true) doChangeOutfit(cid, 1, getCreatureOutfit(cid).lookType) return true end REP+ Pra Quem Ajudar !! Rapido Por Favor
×
×
  • Criar Novo...