Results 1 to 3 of 3

Thread: someone can write procedures?

  1. #1
    Join Date
    Nov 2008
    Location
    Norway, Alesund
    Posts
    924
    Mentioned
    0 Post(s)
    Quoted
    37 Post(s)

    Default someone can write procedures?

    hello people. i wanna ask, someone can write here procedure,

    multiplayer, {ateast 2 playes for example},
    then do in "mainloop"
    login player,
    type procedure; (or any other moving mouse procedure)
    check if player is not loged in then login second player

    thank you.

  2. #2
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    Erm... ok.. wrong forum + very odd question... but ok..
    SCAR Code:
    Program New;
    {.include SRL/SRL.scar}

    Procedure DeclarePlayers;
    Begin
      CurrentPlayer  := 0; // Starting player
      HowManyPlayers := 2; // How many players in total?
      NumberOfPlayers(HowManyPlayers);

      Players[0].Name        := '';              // Username
      Players[0].Pass        := '';              // Password
      Players[0].Nick        := '';              // Nickname, 3 - 4 letters of username
      Players[0].Active      := True;            // Use this player?

      Players[1].Name        := '';              // Username
      Players[1].Pass        := '';              // Password
      Players[1].Nick        := '';              // Nickname, 3 - 4 letters of username
      Players[1].Active      := True;            // Use this player?

    {
      Players[0].Name        := '';              // Username
      Players[0].Pass        := '';              // Password
      Players[0].Nick        := '';              // Nickname, 3 - 4 letters of username
      Players[0].Active      := True;            // Use this player?
    }

    End;

    Begin
      SetupSRL;
      DeclarePlayers;
      If Not LoggedIn Then
      Begin
        LoginPlayer;
        Procedure;
      End Else NextPlayer(False); //Goes to the next active player, and leaves the current player in-active.
    End.
    Ce ne sont que des gueux


  3. #3
    Join Date
    Nov 2008
    Location
    Norway, Alesund
    Posts
    924
    Mentioned
    0 Post(s)
    Quoted
    37 Post(s)

    Default

    Quote Originally Posted by Floor66 View Post
    Erm... ok.. wrong forum + very odd question... but ok..
    SCAR Code:
    Program New;
    {.include SRL/SRL.scar}

    Procedure DeclarePlayers;
    Begin
      CurrentPlayer  := 0; // Starting player
      HowManyPlayers := 2; // How many players in total?
      NumberOfPlayers(HowManyPlayers);

      Players[0].Name        := '';              // Username
      Players[0].Pass        := '';              // Password
      Players[0].Nick        := '';              // Nickname, 3 - 4 letters of username
      Players[0].Active      := True;            // Use this player?

      Players[1].Name        := '';              // Username
      Players[1].Pass        := '';              // Password
      Players[1].Nick        := '';              // Nickname, 3 - 4 letters of username
      Players[1].Active      := True;            // Use this player?

    {
      Players[0].Name        := '';              // Username
      Players[0].Pass        := '';              // Password
      Players[0].Nick        := '';              // Nickname, 3 - 4 letters of username
      Players[0].Active      := True;            // Use this player?
    }

    End;

    Begin
      SetupSRL;
      DeclarePlayers;
      If Not LoggedIn Then
      Begin
        LoginPlayer;
        Procedure;
      End Else NextPlayer(False); //Goes to the next active player, and leaves the current player in-active.
    End.
    thank you

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 8
    Last Post: 05-29-2008, 07:39 PM
  2. i need people to help me write.....
    By kelly slater pro surfer in forum OSR Help
    Replies: 2
    Last Post: 08-14-2007, 02:36 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
  •