Results 1 to 2 of 2

Thread: Action to fishing !

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

    Action to fishing !

    Hi,i'm need action to fishing ! please help-me

    thanks

  2. #2
    Normal User
    Join Date
    Sep 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Okey, thank you for script, but it wasn't working at all because of little mistakes. I made some improvements. Now works 100%

    Code:
    local CONSIDER_REQUIREMENTS = true -- True consider settings, false fish until death
    local CONSIDER_FISHES = 15
    local CONSIDER_CAP = 300
    
    --[[ ENGINE ]]
    local RAND_X = (-7 + math.random(0, 14))
    local RAND_Y = (-5 + math.random(0, 10))
    if (CONSIDER_REQUIREMENTS == true) then
    	if (itemcount("worm") > 0 and cap > CONSIDER_CAP and itemcount("fishing rod") > 0 and itemcount("fish") < CONSIDER_FISHES) and (toptileitem((posx+RAND_X), (posy+RAND_Y), posz) >= 4597 and (toptileitem((posx + RAND_X), (posy + RAND_Y), posz)) <= 4613) then
    		useitemon(itemid("fishing rod"), (posx + RAND_X), (posy + RAND_Y), posz)
                    wait(500, 800)
            end
    elseif (itemcount("worm") > 0 and cap > 0 and itemcount("fishing rod") > 0) and (toptileitem((posx + RAND_X), (posy + RAND_Y), posz) >= 4597 and (toptileitem((posx + RAND_X), (posy + RAND_Y), posz) <= 4613)) then
    	useitemon(itemid("fishing rod"), (posx + RAND_X), (posy + RAND_Y), posz)
    	wait(500, 800)
    end
    Last edited by salvatore13; 09-29-2012 at 03:41 PM.

Posting Permissions

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