Results 1 to 5 of 5

Thread: duplicate identifier

  1. #1
    Join Date
    Jul 2009
    Posts
    421
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default duplicate identifier

    So, i included Antiban, and i get this error when compiling:

    Line 22: [Error] (29236:11): Duplicate identifier 'RANDOMRCLICK' in script C:\SCAR 3.21\includes\SRL\SRL\core\antiban.scar

    procedure AntiBanCombat;
    begin
    if(not(LoggedIn))then
    Exit;
    case Random(15) of

    0: RandomRClickEvery(3 + Random(2));

    ^^Thats the part of the script that uses RandomRClickEvery.
    Please help
    Quote Originally Posted by Cstrike View Post
    Why do I even try these things? I just shit my pants over this god damn tutorial. Fuck, that's uncleanable. I can't even wash that out because there's so much of my shit it will just stain everything else. If I put it in the washing machine, I'm sure to stain the sides.

  2. #2
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Can you post the whole script in SCAR tags please?

  3. #3
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Duplicate identifier just means you used the same name to identify something twice. Change one of them to RandomRClick2 or something like that.

  4. #4
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    Duplicate identifier just means you used the same name to identify something twice. Change one of them to RandomRClick2 or something like that.
    He just pm'd me the script and it compiles fine for me.

    He must be missing the latest version of SCAR or SRL or something then.

  5. #5
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by JAD View Post
    He just pm'd me the script and it compiles fine for me.

    He must be missing the latest version of SCAR or SRL or something then.
    If that's the case, check out my guide for all the Repository links.

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
  •