Ir para conteúdo

Obelivion

Membro
  • Registro em

  • Última visita

Histórico de Curtidas

  1. Gostei
    Obelivion deu reputação a Wise em Ajuda com Script Galera   
    Tenta aí:
    function onAttack(cid, target)     local n = {'[Alliance]', '[Horda]'}          if not isPlayer(target) then return true end     if getCreatureName(cid):find(n[1]) or getCreatureName(cid):find(n[2]) then         if getCreatureName(cid):find(n[1]) and getCreatureName(target):find(n[1]) or getCreatureName(cid):find(n[2]) and getCreatureName(target):find(n[2]) then             doCreatureSetSkullType(cid, SKULL_RED)         else             doCreatureSetSkullType(cid, SKULL_NONE)         end     end          return true end Não se esqueça de registrar o creature event em login.lua e de adicionar a tag do mesmo (data\creaturescripts).

Informação Importante

Confirmação de Termo