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?