declaring players

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

Thread Status:
Not open for further replies.
declaring players
  1. Unread #1 - Jul 17, 2007 at 1:19 PM
  2. wickidjuice
    Referrals:
    0

    wickidjuice Guest

    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
     
  3. Unread #2 - Jul 17, 2007 at 5:19 PM
  4. Amur
    Joined:
    Jul 16, 2007
    Posts:
    78
    Referrals:
    1
    Sythe Gold:
    0

    Amur Member
    Banned

    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.
     
  5. Unread #3 - Jul 17, 2007 at 5:31 PM
  6. Town
    Joined:
    Jan 21, 2007
    Posts:
    3,776
    Referrals:
    3
    Sythe Gold:
    5

    Town Grand Master
    Scar Programmers

    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 >

Users viewing this thread
1 guest
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site