Results 1 to 4 of 4

Thread: check cap , mana e health ajuda plz

  1. #1
    Normal User
    Join Date
    Sep 2012
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    check cap , mana e health ajuda plz

    Boa noite meus amigos ...
    Gostaria de saber uma action que no meio da hunt analiza se o char
    Tem
    -cap
    -mana potion
    -strong health potion

    Obrigado.

    a q eu tenho é essa

    wait(200,500)
    if countitem("mana potion") >= 10 then
    gotolabel ("Hunt") end
    wait(200,500)
    if countitem("strong health potion") >= 10 then
    gotolabel ("Hunt") end
    wait(200,500)
    if cap >= 100 then
    gotolabel ("Hunt") end
    wait(200,500)

  2. #2
    Normal User livascripts's Avatar
    Join Date
    Apr 2012
    Posts
    729
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    15
    Rep Power
    6
    PHP Code:
    if itemcount('mana potion') <= 10 or itemcount('strong health potion') <= 10 or cap <=100 then
    gotolabel
    ('SAIR_DA_HUNT')
    else
    gotolabel('CONTINUAR_HUNT')
    end 
    só alterar as labels

  3. #3
    Normal User
    Join Date
    Sep 2012
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Por hora Obrigado ...
    Vou testar

  4. #4
    Normal User
    Join Date
    Sep 2012
    Posts
    20
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Obrigao amigao deu certinho

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •