Converting Code?

Discussion in 'Scar/Simba Help' started by FatalScar, Oct 30, 2009.

Converting Code?
  1. Unread #1 - Oct 30, 2009 at 8:44 PM
  2. FatalScar
    Joined:
    Oct 30, 2009
    Posts:
    1
    Referrals:
    0
    Sythe Gold:
    0

    FatalScar Newcomer

    Converting Code?

    Anyone here any good with SCAR?
    Here's how it should be:
    Code:
    
    function mainloop() {
    if(FindColor(255, 255, 255) == true) { //FindColor(Red Value, Green Value, Blue Value)
       clickMouse(141, 284); //x & y coords;
       wait(1000);
       clickMouse(100, 300); // x & y coords
    } else {
       clickColor(FindColor(25, 50, 75)); //clicks a color
    }
    }
    And that code keeps looping...

    Can someone convert it to SCAR for me please?
     
  3. Unread #2 - Dec 5, 2009 at 11:28 PM
  4. Belgin_Fish
    Joined:
    Dec 9, 2008
    Posts:
    50
    Referrals:
    0
    Sythe Gold:
    0

    Belgin_Fish Member

    Converting Code?

    Use the SRL Include



    This should work, get the SRL include and replace thecolor with the color you want to find and thetol with the color tolerance.

    Sorry if it doesn't, havn't coded in a while.
     
< I'm new to scar, and... | How to download and install SCAR? >

Users viewing this thread
1 guest


 
 
Adblock breaks this site