Results 1 to 4 of 4

Thread: SetRun?

  1. #1
    Join Date
    Mar 2007
    Posts
    1,223
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    SetRun?

    I was wandering if there is a way so scar can find if the run is over 80% if yes it will run? is there a procedure like that?

  2. #2
    Join Date
    Feb 2008
    Location
    In the woods of Finland
    Posts
    45
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    If GetMMLevels('run', Color) > 80 Then
       SetRun(True);

    Notice that the Color must be declared as a string variable.
    Cut & Drop or Stock Powerchonker


    Teh 3vil Oar H1t5 Chuck Norris Stone c0ld

  3. #3
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Trollvete View Post
    SCAR Code:
    If GetMMLevels('run', Color) > 80 Then
       SetRun(True);

    Notice that the Color must be declared as a string variable.
    Why should you make Color a string?
    ~Hermen

  4. #4
    Join Date
    Feb 2008
    Location
    In the woods of Finland
    Posts
    45
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    Function GetMMLevels(LevelType : String; var ColorSign : String): integer;
    It returns the actual color as a string: Green, Yellow, Orange or Red
    Cut & Drop or Stock Powerchonker


    Teh 3vil Oar H1t5 Chuck Norris Stone c0ld

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
  •