Ir para conteúdo

Featured Replies

Postado

Crie um checkbox e um timer:

No codigo checkbox ponha:


If CheckBox1.Checked Then

Timer1.Interval = 30000

Timer1.Start()

Else

Timer1.Stop()

No codigo do timer ponha:

        If c.LoggedIn Then

            For Each id As Item In c.Inventory.GetItems

                If id.Id = Constants.Items.Food.Apple.Id Then

                    id.UseOnSelf()

                End If

                If id.Id = Constants.Items.Food.Banana.Id Then

                    id.UseOnSelf()

                End If

                If id.Id = Constants.Items.Food.Blueberry.Id Then

                    id.UseOnSelf()

                End If

                If id.Id = Constants.Items.Food.Carrot.Id Then

                    id.UseOnSelf()

                End If

                If id.Id = Constants.Items.Food.Cheese.Id Then

                    id.UseOnSelf()

                End If

                If id.Id = Constants.Items.Food.Cherry.Id Then

                    id.UseOnSelf()

                End If

                If id.Id = Constants.Items.Food.BrownMushroom.Id Then

                    id.UseOnSelf()

                End If

                If id.Id = Constants.Items.Food.Coconut.Id Then

                    id.UseOnSelf()

                End If

                If id.Id = Constants.Items.Food.Corncob.Id Then

                    id.UseOnSelf()

                End If

                If id.Id = Constants.Items.Food.DragonHam.Id Then

                    id.UseOnSelf()

                End If

                If id.Id = Constants.Items.Food.Egg.Id Then

                    id.UseOnSelf()

                End If

                If id.Id = Constants.Items.Food.Fish.Id Then

                    id.UseOnSelf()

                End If

                If id.Id = Constants.Items.Food.Grapes.Id Then

                    id.UseOnSelf()

                End If

                If id.Id = Constants.Items.Food.GreenMushroom.Id Then

                    id.UseOnSelf()

                End If

                If id.Id = Constants.Items.Food.Ham.Id Then

                    id.UseOnSelf()

                End If

                If id.Id = Constants.Items.Food.Meat.Id Then

                    id.UseOnSelf()

                End If

                If id.Id = Constants.Items.Food.Mellon.Id Then

                    id.UseOnSelf()

                End If

                If id.Id = Constants.Items.Food.Orange.Id Then

                    id.UseOnSelf()

                End If

                If id.Id = Constants.Items.Food.Roll.Id Then

                    id.UseOnSelf()

                End If

                If id.Id = Constants.Items.Food.Salmon.Id Then

                    id.UseOnSelf()

                End If

                If id.Id = Constants.Items.Food.WhiteMushroom.Id Then

                    id.UseOnSelf()

                End If

            Next

        End If

Créditos: Júlio Espindula (FnTools)

  • Respostas 9
  • Visualizações 3.2k
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • Beatriz Oliveira
    Beatriz Oliveira

    Desculpa ter revivido novamente, mais quem é felipe sartori para falar que o pessoal é nb em programação ? Segundo, Felipe não explicou nada sobre oque ele postou, aquilo que ele postou serve para che

Postado

Esse ai ele verifica um por um, é ruim :S

Mas se funciona, não podemos descartar né :D

Edit: "UseOnSelf()"

Cara, é só colocar UseItem, porque ele come quando clica...

Não da pra usar food em você ou em alguém e.e

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.7k

Informação Importante

Confirmação de Termo