Results 1 to 5 of 5

Thread: question on setupplayers

  1. #1
    Join Date
    Oct 2007
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default question on setupplayers

    im getting this error

    Line 36: [Error] (14918:1): Unknown identifier 'SetupPlayers' in script C:\Users\BRANDON\Desktop\Lolislol First PowerChopper 1 Fix 3,2.scar

    what am i doing wrong here is the whole thing


    procedure DeclarePlayers;
    begin
    SetupPlayers;

    Players[0].Name := *********'; //Account Username
    Players[0].Pass := '*******'; //Account Password
    Players[0].Nick := 'ser'; //3 - 4 Lowercase Letters of Username
    Players[0].Active := True; //Is The Player Active?(True or False)

    Players[1].Name := '';
    Players[1].Pass := '';
    Players[1].Nick := '';
    Players[1].Active := True;

    Players[2].Name := '';
    Players[2].Pass := '';
    Players[2].Nick := '';
    Players[2].Active := True;

    LoadPlayerArray;
    end;

  2. #2
    Join Date
    Jul 2007
    Location
    Ottawa, Canada
    Posts
    930
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    download the latest srl and scar.
    also make sure you're using a script that is compatible with the newest srl.
    ~ Metagen

  3. #3
    Join Date
    Nov 2006
    Location
    Bel Air, Maryland, USA
    Posts
    207
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok heres how it should start off like
    SCAR Code:
    Procedure DeclarePlayers;
    begin
    HowManyPlayers  :=8; // Set Number of Players here.
    NumberOfPlayers(HowManyPlayers); // Sets the Players Array Length;
    CurrentPlayer:=3;
    and then where your doing your setup players it goes like this for nick
    SCAR Code:
    Players[0].Name := 'darkghost529'; //Account Username
    Players[0].Pass := '*******'; //Account Password
    Players[0].Nick := 'rkg'; //3 - 4 Lowercase Letters of Username ur example(darkghost529) i used rkg out of it
    Players[0].Active := True; //Is The Player Active?(True or False)

    edit:: setupplayers is for the playerform patch i believe from old srl, it might still be in use but i havent tried it recently
    and to dive into the nick a little bit for you and others out there, this is used for srl random detection, example, a wise old man pops up and says hey there, darkghost529, now if srl was looking for 'ser' as nick, it wouldnt recognize this, but if we were looking for rkg, wed find it as, da'rkg'host529, hope you understand this now, and because the spacing is wierd for rs capital letters you dont include the first letter or the first letter after a space, i believe thats how it works, correct me if im wrong

  4. #4
    Join Date
    Oct 2007
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok sorry i forgot to mention i do have the latest version of both srl and scars and i still get the error im trying to find the script that all those level 3's use but im guessing the one i have is the closest but i keep getting this error

  5. #5
    Join Date
    Nov 2006
    Location
    Bel Air, Maryland, USA
    Posts
    207
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    try reading what i wrote, and remove setup players, ::end of my help::

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. One Question?
    By gamer 5 in forum C#/Visual Basic Help and Tutorials
    Replies: 3
    Last Post: 01-06-2008, 10:45 PM
  2. Question?
    By SocCerSporTie in forum SRL Site Discussion
    Replies: 7
    Last Post: 10-28-2007, 02:55 PM

Posting Permissions

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