Hmm I was trying to make a procedure that writes in the debug what a NPC is saying, but is says invalid number of parameters , Can anybody help me a bit and point out whats wrong?
SCAR Code:Program New;
{.include srl/srl.scar}
Procedure GetIt;
Var
TPA : TPointArray;
T :String;
i : Integer;
Begin
TPA[0].x := MCX1;
TPA[0].y := MCY1;
TPA[1].x := MCX2;
TPA[1].y := MCY2;
For i := 0 To 1 Do
Begin
T := GetTextAtEx(TPA[i], 30, NPCChars, false, false, 0, 0, 0 , 30, false, tr_NormalChars);
WriteLn(T);
End;
End;
Begin
SetupSrl;
ActivateClient;
GetIt;
End.






Reply With Quote





