need help with my scar (i am a noob at this)

Discussion in 'Scar/Simba Help' started by dave_iii_101, Jan 26, 2008.

need help with my scar (i am a noob at this)
  1. Unread #1 - Jan 26, 2008 at 4:54 PM
  2. dave_iii_101
    Referrals:
    0

    dave_iii_101 Guest

    need help with my scar (i am a noob at this)

    i have ben trying to make a auto that picks up swamp tar and all it needs to do is find a color and then click on it. i will be very happy if you would help me fix it so if you can help me please.

    thank you



    Well here it is please help me.


    swamptarcol = 2105598; //Color of the swamp tar on the minimap
    swamptarMSC = 2697516; //Color of the swamp tar on the MainScreen

    ///////////////////////////////////////////////////////////////////

    begin
    iif(FindColorSpiraltolerance(x, y, swamptarcol, 648, 101, 797, 145,10))then
    Mouse(x, y, 1, 2, True);

    if(findobj(x,y,'Pick',swamptarMSC,15))then
    mouse(x,y,1,1,true)
    end.
     
  3. Unread #2 - Jan 26, 2008 at 5:27 PM
  4. Town
    Joined:
    Jan 21, 2007
    Posts:
    3,776
    Referrals:
    3
    Sythe Gold:
    5

    Town Grand Master
    Scar Programmers

    need help with my scar (i am a noob at this)

    What do you need help with? You probably will want to add a loop : /
     
< Lines 57 and 26 Error | Little help needed. >

Users viewing this thread
1 guest


 
 
Adblock breaks this site