Add in this line:
SCAR Code:
NumberOfPlayers(HowManyPlayers);
Should look like this:
SCAR Code:
program Gnome_Agility_Course_Runner;
{.include SRL\SRL.Scar}
procedure DeclarePlayers;
begin
HowManyPlayers :=1;
NumberOfPlayers(HowManyPlayers);//This line
CurrentPlayer :=0;
Players[0].Name := 'username'; //Username
Players[0].Pass := 'password'; //Password
Players[0].Nick := 'nick'; //3-4 letters from your username
Players[0].Active := True;
end;
procedure Report;
begin
ClearDebug;
WriteLn('Thank you for using DaNkaTa''s Gnome_Agility_Course_Runner');
WriteLn('The script has been running for '+TimeRunning);
end;
begin
DeclarePlayers;
LoginPlayer;
Report;
end.
That should clear up your problem.