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