Hi
Instead of wasting hundreds of lines on a form only used for declaring players, I tried to use SRLPlayerForm.
But it doesn't work
.
Here's what happens :
Code:
Line 214: [Error] (216:1): Unknown identifier 'HowManyPlayers' in script C:\Program Files\SCAR 3.15\includes\SRL/SRL/misc/users.scar
Here's my simple code that doesn't work apparently :
SCAR Code:
program New;
{.include SRL/SRL/misc/users.scar}
{.include SRL/SRL.scar}
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer:= 0
Players[0].Name := ('');
Players[0].Pass := ('');
Players[0].Nick := ('');
Players[0].Active := True;
end;
begin
SRLPlayerForm(True,[],[],[],[]);
DeclarePlayers;
end.
What's wrong ?
.
If you need to know :
- I have reinstalled SRL and tried again ... doesn't work.
- YES I HAVE REV 28
Any help ? :s