Postado Março 26, 2018 7 anos Vi um script bem legalzinho, na maioria das vezes grupos caçando em party, de 3~4 avalanche, fica meio dificil de entender qm é qm, ou até mesmo em wars, peleguinho.. Basicamente ele altera a cor do outfit para a igual do leader, mantendo o outfit. <talkaction words="!poutfit" script="party_outfit.lua"/> party_outfit.lua function onSay(player, words, param) local party = player:getParty() if not party then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "You are not in a party.") return false end if not (party:getLeader() == player) then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "You are not the leader of the party.") return false end local outfit = player:getOutfit() local members = party:getMembers() for i = 1, #members do local newOutfit = members[i]:getOutfit() newOutfit.lookHead = outfit.lookHead newOutfit.lookBody = outfit.lookBody newOutfit.lookLegs = outfit.lookLegs newOutfit.lookFeet = outfit.lookFeet members[i]:setOutfit(newOutfit) members[i]:getPosition():sendMagicEffect(CONST_ME_MAGIC_BLUE) end return false end créditos ao Static_ criador do script.
Postado Março 26, 2018 7 anos Parabéns, seu tópico de conteúdo foi aprovado! Muito obrigado pela sua contribuição, nós do Tibia King agradecemos. Seu conteúdo com certeza ajudará à muitos outros, você recebeu +1 REP. Spoiler Congratulations, your content has been approved! Thank you for your contribution, we of Tibia King we are grateful. Your content will help many other users, you received +1 REP.
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.