[Error] (239:5): Unknown identifier 'CoursesDone' at line 238
Compiling failed.
have no idea? can someone help me?
[Error] (239:5): Unknown identifier 'CoursesDone' at line 238
Compiling failed.
have no idea? can someone help me?
if RightClickMethod then
begin
StatsGuise('Shooting Targets');
for i := 1 to 10 do
begin
if FindObjEx(x, y, ['arget'], [5041405, 5238269], 7, 31, MSX1, MSY1, 375, 65) then
ClickMouse2(False);
Wait(200 + Random(150));
ChooseOptionEx('arget', 'object');
Wait(2400 + Random(150) + Laggy);
MMouse(487, 42, 3, 3);
Wait(550 + Random(150) + Laggy);
if IsUpText('lose') then
ClickMouse2(True);
end;
if FindObjTPA(x, y, 1845548, 11, 2, 15, 15, 50, ['ition']) or
FindObjTPA(x, y, 2702911, 13, 2, 15, 15, 50, ['ition']) then
Mouse(x, y, 5, 5, False);
WaitOption('to C', 500);
end;
CoursesDone := (CoursesDone + 1);
end;
there it has the integer i think?
No no no.
You have to tell the script it is a number. How does your script know that CoursesDone isn't a string or a true or false statement? It doesn't.
At the start of you script, before your DeclarePlayers procedure but after you define all your includes, put this:
Simba Code:Var
CoursesDone: Integer;
If you have 'var' already there then just add CoursesDone: Integer; underneath it.
Simply a GOD beast...
My Tutorials
This is Ryy's range guild script, you can't ask people to fix an anti leech for you.
Bored of playing rs, and bored of botting it, why am i here?
There are currently 1 users browsing this thread. (0 members and 1 guests)