Jump to content

Search the Community

Showing results for tags 'perde'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Sou

Found 1 result

  1. e ai pessoal, eu estava montando um creaturescript pra quando o player matar um monstro checar se ele(o player) possui uma storage e caso ele tenha, ser adicionado uma outra storage por cima, no caso a storage só é adicionada ao matar o monstro, se o player possuir uma devida storage, sou uma bosta em montar creaturescript, eles nunca funcionam como eu imagino que funcionam venho aqui pedir a ajuda de alguém mais experiente : O agradeço desde já qualquer ajuda, script: function onDeath(cid, corpse, deathList)local Storage,monstName,players = 92000, "Ashar", {}if isMonster(cid) and string.lower(getCreatureName(cid)) == string.lower(monstName) and isPlayer(target) and getCreatureStorage(target, storage) == 2 thendoCreatureSay(cid, "Você matou Ashar o líder da ceita.", TALKTYPE_ORANGE_1)for _, check in pairs(deathList) doif isPlayer(check) thentable.insert(players, check)endendfor _, var in pairs(players) dosetPlayerStorageValue(var, Storage, 3)endend return trueend
×
×
  • Create New...