Results 1 to 4 of 4

Thread: Colour choose

  1. #1
    Join Date
    Nov 2012
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default Colour choose

    I've read that i must post only MY scripts, but this is really simple thing that i can't understand...

    How do i change npc to kill color? Can't remember who's script lol.

    Code:
      FindColorsSpiralTolerance(204, 188, TPA, 8942188, 108, 114, 136, 140, 143); // Enter the Color and Tolerance Here at the Right place.
    I need to put this colour :
    Code:
    6379341 - RGB:77,87,97

  2. #2
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by MrHooky View Post
    I've read that i must post only MY scripts, but this is really simple thing that i can't understand...

    How do i change npc to kill color? Can't remember who's script lol.

    Code:
      FindColorsSpiralTolerance(204, 188, TPA, 8942188, 108, 114, 136, 140, 143); // Enter the Color and Tolerance Here at the Right place.
    I need to put this colour :
    Code:
    6379341 - RGB:77,87,97
    why dont you use aca?

  3. #3
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    The 4th argument is the color, just change that.
    You can type the method name to the function list / use code hint to see the parameters.

  4. #4
    Join Date
    Aug 2013
    Location
    East Coast USA
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Where you installed simba there is a "documentation" folder with a PDF that tells you what the function parameters are.

    function FindColorsSpiralTolerance(x, y: Integer; var pts: TPointArray; col, x1, y1, x2, y2, tol: Integer)

    In your example the # 8942188 is the color. Replace with your color.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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