Results 1 to 13 of 13

Thread: More Script Help

  1. #1
    Join Date
    May 2007
    Location
    UK
    Posts
    4,007
    Mentioned
    1 Post(s)
    Quoted
    12 Post(s)

    Default More Script Help

    Hi guys the script is attached.
    Im getting an error with Result:= True.
    Can you try and compile?
    maybe fix the error(s) aswell ?

    cheers in advance

    T~M
    Last edited by Dynamite; 05-21-2009 at 09:05 PM.

  2. #2
    Join Date
    Mar 2008
    Location
    In a cave
    Posts
    345
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I'd help If only I could see the attachment somewhere
    A Chinese wiseman once said: "Shu ciu!", it was considered very smart, but now people know it means: "Something stinks here!"
    FalBuggySmelter v.1.31
    [Updated on the 1st of March 2010]
    RimmBugger BETA V1.8

  3. #3
    Join Date
    May 2007
    Location
    UK
    Posts
    4,007
    Mentioned
    1 Post(s)
    Quoted
    12 Post(s)

    Default

    OH yeh crap sorry

    T~M

  4. #4
    Join Date
    Feb 2009
    Location
    Philipines
    Posts
    600
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You left your password in the script I changed it, I will pm you the new one.

  5. #5
    Join Date
    May 2007
    Location
    UK
    Posts
    4,007
    Mentioned
    1 Post(s)
    Quoted
    12 Post(s)

    Default

    Oh yeh, cheers

    T~M

  6. #6
    Join Date
    Mar 2008
    Location
    In a cave
    Posts
    345
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    From what I see, you're trying to make a procedure output a result. I think you can't do that. If you'd use function instead it would do the shiz

    EDIT: But I don't get it why you want to make the BankToFish output a boolean...
    EDIT2: Ok, went through a bit more and I think you don't need the line as you don't use the boolean anywhere
    Last edited by bugger0001; 05-21-2009 at 09:38 PM.
    A Chinese wiseman once said: "Shu ciu!", it was considered very smart, but now people know it means: "Something stinks here!"
    FalBuggySmelter v.1.31
    [Updated on the 1st of March 2010]
    RimmBugger BETA V1.8

  7. #7
    Join Date
    Feb 2007
    Location
    South East England
    Posts
    2,906
    Mentioned
    2 Post(s)
    Quoted
    8 Post(s)

    Default

    SCAR Code:
    {===============Script-info===============}
    {-----------------------------------------}
    { Author: King of Knives                  }
    { ----                                    }
    { If you downloaded this anywhere else    }
    { than SRL-forums.com, please go to       }
    { SRL-forums.com and send me a PM         }
    { about it. My name on SRL-forums.com is  }
    { King of Knives                          }

    You sure this is yours..?

    Error @ Line 1229 because it is a procedure, not a function.

    Line 1201 from
    SCAR Code:
    Procedure BankToFish;
    to
    SCAR Code:
    Function BankToFish: boolean;
    Jus' Lurkin'

  8. #8
    Join Date
    Mar 2008
    Location
    In a cave
    Posts
    345
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Btw, after you make it into a function you still get errors, but he uses the procedure only once and then he uses it like a procedure not like a function
    I think the solution is removing the line that's buggish
    Last edited by bugger0001; 05-21-2009 at 09:40 PM. Reason: typo
    A Chinese wiseman once said: "Shu ciu!", it was considered very smart, but now people know it means: "Something stinks here!"
    FalBuggySmelter v.1.31
    [Updated on the 1st of March 2010]
    RimmBugger BETA V1.8

  9. #9
    Join Date
    May 2007
    Location
    UK
    Posts
    4,007
    Mentioned
    1 Post(s)
    Quoted
    12 Post(s)

    Default

    Quote Originally Posted by Torrent of Flame View Post
    SCAR Code:
    {===============Script-info===============}
    {-----------------------------------------}
    { Author: King of Knives                  }
    { ----                                    }
    { If you downloaded this anywhere else    }
    { than SRL-forums.com, please go to       }
    { SRL-forums.com and send me a PM         }
    { about it. My name on SRL-forums.com is  }
    { King of Knives                          }

    You sure this is yours..?

    Error @ Line 1229 because it is a procedure, not a function.

    Line 1201 from
    SCAR Code:
    Procedure BankToFish;
    to
    SCAR Code:
    Function BankToFish: boolean;
    Im fixing it for people

    T~M

  10. #10
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    line 1229

    Result := True; --> //Result := True;

    ...

    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  11. #11
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  12. #12
    Join Date
    May 2007
    Location
    UK
    Posts
    4,007
    Mentioned
    1 Post(s)
    Quoted
    12 Post(s)

    Default

    Quote Originally Posted by Shuttleu View Post
    what happened to the version i fixed for you earlier?
    also i fixed this script ages ago and sent it to king of knives but he didnt seem to reattach it :/

    ~shut
    The walking wasnt working

    T~M

  13. #13
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

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
  •