mafia miles
2013-04-03 12:32:06
Needed help getting it to the furnace
[Error] C:\Simba\Scripts\TestSPS8.simba(47:1): Identifier expected at line 46
Compiling failed.
program TestSPS7;
{$I SRL-OSR/SRL.Simba}
{$I SPS/sps-osr.simba}
{$i ObjectDTM\ObjDTMInclude.simba}
var x, y, i:integer;
FurnaceDTM:integer;
TPA : TPointArray;
const
AccountLogin = ''; //Declare your username and password
AccountPass = '';
CharacterName = '';
version = '1.2'; //Logs back in if logged out.
Procedure DeclarePlayers;
Begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := '';
Players[0].Pass :='';
Players[0].Nick :='';
Players[0].Active:=True;
End;
procedure WalkingSpec(TheWalk:Integer);
var
i: Integer;
begin
if not LoggedIn then Exit;
case TheWalk of
1: RadialWalkTolerance(12345,159,186,74,5,5,15);
2: RadialWalkTolerance(12345,136,153,74,5,5,15);
end;
procedure WalkingToFurnace;
var
i,x,y:Integer;
begin
for i := 1 to 2 do//Uses 1-3 of my RadialWalks, which walks to the first rock
begin
Writeln('You are on Walk Number ' + IntToStr(i));
WalkingSpec(i);
end;
(Anything you want the script to do after walking to the rock)
end;
begin
SetupSRL;
DeclarePlayers;
LoginPlayer;
wait(2000);
WalkingToFurnace;
end.
[Error] C:\Simba\Scripts\TestSPS8.simba(47:1): Identifier expected at line 46
Compiling failed.