Jump to content

Search the Community

Showing results for tags 'movements com mysql'.

  • 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. Bom, eu queria que quando o player entrasse no teleport, os atributos "is_training" que de todos estão 0(que eu defini), mudasse para 1, isso no atributo somente do jogador que entrar no teleport. Pensei em algo assim, mas da errado: function onStepIn(cid, item, pos) if item.uid == 1478 then queststatus = getPlayerStorageValue(cid,33339) if queststatus == -1 then doPlayerSendTextMessage(cid,22,"Voce acaba de iniciar seu treinamento.") setPlayerStorageValue(cid,33339,1) db.query("INSERT INTO `players` WHERE ('name' = '".. getCreatureName(cid).."')(`is_training`) VALUES '1';") return true end end end É mais em MYSQL a duvida.
×
×
  • Create New...