Results 1 to 8 of 8

Thread: Help with declaring players

  1. #1
    Join Date
    Aug 2008
    Location
    Auckland
    Posts
    132
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Help with declaring players

    I was wondering if someone could show me how to declare players in my script or is there any tutorials on how to do it, then my script will be finished.
    Cheers Tomo
    ~Tom~

  2. #2
    Join Date
    Jun 2007
    Location
    south park
    Posts
    1,160
    Mentioned
    0 Post(s)
    Quoted
    62 Post(s)

    Default

    http://www.youtube.com/user/YoHoJoSRL
    Good scripting guides on youtube
    Formerly known as (djcheater)

  3. #3
    Join Date
    Aug 2008
    Location
    Auckland
    Posts
    132
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default hmmm

    I meant learning how to create a declare players, not how to set one. DjCheater could you help me via msn?
    ~Tom~

  4. #4
    Join Date
    Apr 2007
    Posts
    2,593
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    procedure DeclarePlayers;
    begin
      HowManyPlayers := 1;        // Just makes [1]* easier
      CurrentPlayer := 0;         // Sets the current player to 1. Meaning it'll be the first to login
      NumberOfPlayers(HowManyPlayers); // Sets the number of players to HowManyPlayers ([1]*)
     
      Players[0].Name := '';  // First players username
      Players[0].Pass := '';  // First players password
      Players[0].Nick := '';  // 3-5 characters of first players username
      Players[0].Active := True; // Is this player active?
    end;

  5. #5
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Copy and pate 66 into the top of your script. Then Wulluah.
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  6. #6
    Join Date
    Apr 2007
    Posts
    2,593
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    66? Wtf are you talking about 66?

  7. #7
    Join Date
    Jun 2008
    Location
    Somewhere
    Posts
    117
    Mentioned
    2 Post(s)
    Quoted
    4 Post(s)

    Default

    SCAR Code:
    procedure DeclarePlayers;
    begin
      HowManyPlayers := 1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer := 0;

      Players[0].Name := 'Username'; // Account name
      Players[0].Pass := 'Password';// User password
      Players[0].Nick := 'Nick';//3 letters in username, not the first letter
      Players[0].Active := True;
     
     
    end;

  8. #8
    Join Date
    Apr 2007
    Posts
    2,593
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    The nick just has to be 3-5 consecutive letters.

    I believe it can be the first letter, as long as you capitalize it in the nick.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Declaring new data type
    By Repentinus in forum C/C++ Help and Tutorials
    Replies: 9
    Last Post: 04-17-2008, 03:35 PM
  2. I need help for Declaring the players
    By Dervish in forum OSR Help
    Replies: 2
    Last Post: 03-23-2008, 07:18 PM
  3. just need some help declaring players lol :D
    By nibblit in forum OSR Help
    Replies: 4
    Last Post: 07-11-2007, 01:26 AM

Posting Permissions

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