SRL Archive - SRL Old School RuneScape

"FIND" function not working with TReflectPlayerArray? LAPE REFLECTION


Vowel

2015-03-30 00:35:39

Hey, so I'm making a script that requires finding other players in your area and attacking them.. I've seen in many scripts and tutorials that a proper function would be something like this, however when I try to compile it, it returns "unknown declaration "Find" at line "

procedure attackPlayer();
var
Player: TReflectPlayerArray;

begin
wait(500 + random(1097);
while not MyPlayer.IsUnderAttack do
begin
if Player.Find('//enter user account name') then
begin
Reflect.Mouse.Move(Player.GetMSPoint, 2, 2);
wait(randomrange(50,10));
Reflect.Mouse.Click(Mouse_Left);
end;
end;
end

Justin

2015-03-30 01:21:32

I'm going to close this thread, duplicate: https://villavu.com/forum/showthread.php?t=112510