Results 1 to 3 of 3

Thread: Help Adding Multiplayer

  1. #1
    Join Date
    Feb 2009
    Posts
    1,447
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Help Adding Multiplayer

    I am trying to add multiplayer and it just wont work for some reason.
    My DeclarePlayers are as such:
    SCAR Code:
    procedure DeclarePlayers;
    begin
        HowManyPlayers := 4;
        NumberOfPlayers(HowManyPlayers);
        CurrentPlayer := 0;

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

      {
        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;


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

    end;

    In my mainloop, when it detects when the player is logged out, it just loggs in as Players[0] using: NextPlayer(true); It dosn't go to the next player though! Can I get any help?
    Last edited by TRiLeZ; 04-12-2009 at 06:14 PM.

  2. #2
    Join Date
    Oct 2007
    Location
    Denmark
    Posts
    409
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Is that you declare players function?
    Because here you have commented the other players out.

  3. #3
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    As Frt said.. it thinks there is one player and maybe four.. actually.. this wouldn't even run so either you commented it out just for showing us (which doesn't make sense to me..) or you changed it from 1 player to 4..

    you have to uncomment the other players if you had them filled out..

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
  •