Results 1 to 2 of 2

Thread: Need Action for fishing and eat fish.. please HELP

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

    Need Action for fishing and eat fish.. please HELP

    Need Action for fishing and eat fish.. please HELP! | Preciso de uma Action pra pescar e comer o peixe.. por favor AJUDE!

  2. #2
    Normal User Tibianator's Avatar
    Join Date
    Jun 2012
    Location
    Poland
    Posts
    129
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    19
    Rep Power
    5
    just use 2 actions:

    1st for fishing
    PHP Code:
    local minCap 50
    local fishrange 
    7
    local i 
    math.random(-fishrange ,fishrange 
    local j math.random(-fishrange ,fishrange 

    if 
    cap >= minCap and (toptileitem(posx+i,posy+j,posz) >= 4598 and toptileitem(posx+i,posy+j,posz) <= 4602then
        useitemon
    ("fishing rod",posx+i,posy+j,posz)
    end 
    2nd for eat food:
    PHP Code:
    eatfood()
    wait(30000,60000

Posting Permissions

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