• Log in or sign up for an account here: https://www.sythe.org/login

declaring players

  • Thread starter Thread starter wickidjuice
  • Start date Start date
Status
Not open for further replies.
W

wickidjuice

Guest
ok wen i read the instructions it says declare players and all this stuff
im new at SCAR this is my first time ever running it
wut does declaring players mean
 
Code:
Procedure DeclarePlayers;
begin
     HowManyPlayers  :=6;               // Set Number of Players here.
     NumberOfPlayers(HowManyPlayers);   // Sets the Players Array Length;
     CurrentPlayer:=StartPlayer;        // CurrentPlayer = Array Index

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

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

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

     Players[3].Name :='';
     Players[3].Pass :='';
     Players[3].Nick :='';
     Players[3].Loc  :='Loc1';
     Players[3].Skill:='';
     Players[3].Active:=True;

     Players[4].Name :='';
     Players[4].Pass :='';
     Players[4].Nick :='';
     Players[4].Loc  :='Loc1';
     Players[4].Skill:='';
     Players[4].Active:=True;

     Players[5].Name :='';
     Players[5].Pass :='';
     Players[5].Nick :='';
     Players[5].Loc  :='Loc1';
     Players[5].Skill:='';
     Players[5].Active:=True;

     writeln(inttostr(HowManyPlayers)+' Players');

end;

That's what it looks like.
 
Status
Not open for further replies.
Runescape Gamblingrunescape gambling
Back
Top