Ir para conteúdo

Featured Replies

Postado

@Jhonjhon775

function Creature:onChangeOutfit(outfit)
    if self:isPlayer() then
        local head = self:getSlotItem(CONST_SLOT_HEAD)
        if head and head:getId() == 32671 and self:getOutfit().lookType == 1122 and outfit.lookType ~= 1122 then
            return false
        end
        if outfit.lookType == 111 and outfit.lookMount ~= 0 then -- TROQUE O 111 pelo lookType do seu outfit
            self:sendCancelMessage("You can not mount while using this outfit.")
            return false
        end
        
        -- [CONTINUAÇÃO]

 

Contato:

 

  • Respostas 5
  • Visualizações 659
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • Em data/events/scripts/creature.lua, procure por: function Creature:onChangeOutfit(outfit) return true end Substitua por: function Creature:onChangeOutfit(outfit) if outfit.lookType ==

  • @Jhonjhon775 function Creature:onChangeOutfit(outfit) if self:isPlayer() then local head = self:getSlotItem(CONST_SLOT_HEAD) if head and head:getId() == 32671 and self:getOutfi

Posted Images

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.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.8k

Informação Importante

Confirmação de Termo