Adblock breaks this site

declaring players

Discussion in 'Scar/Simba Help' started by wickidjuice, Jul 17, 2007.

Thread Status:
Not open for further replies.
  1. wickidjuice

    wickidjuice Guest

    Referrals:
    0
    declaring players

    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
     
  2. Amur

    Amur Member
    Banned

    Joined:
    Jul 16, 2007
    Posts:
    78
    Referrals:
    1
    Sythe Gold:
    0
    declaring players

    telling it wat your users name is,pass,nickname,ect. theres an area in the script if its multiplayer script for it, just look, make sure all the info is correct.
     
  3. Town

    Town Grand Master
    Scar Programmers

    Joined:
    Jan 21, 2007
    Posts:
    3,776
    Referrals:
    3
    Sythe Gold:
    5
    declaring players

    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.
     
< questions | declaring players >
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site