This keeps access violating !!!!!
SCAR Code:Begin
XP := 217772;
Disguise(IntToStr(XP));
For I := 1 To 28 Do
Begin
TB := InvBox(I);
If FindDTM(Iron, x, y, TB.x1, TB.y1, TB.x2, TB.y2) Then <---------
Begin
DecEX(XP, 35);
End;
End;
End;
This keeps access violating !!!!!
SCAR Code:Begin
XP := 217772;
Disguise(IntToStr(XP));
For I := 1 To 28 Do
Begin
TB := InvBox(I);
If FindDTM(Iron, x, y, TB.x1, TB.y1, TB.x2, TB.y2) Then <---------
Begin
DecEX(XP, 35);
End;
End;
End;

TB needs to be a TPointArray, if it's not. There might be another thing to add to it for the 1 and 2 for start and end, but I dunno. Possibly..
SCAR Code:var
TB: array [1..2] of TPoint;
or something..
. Make sure you load your DTM 'Iron'
![]()
omg nauman ur completely rite i for got to load em god im stupid!!!!thx fo ur help guys bangs head on wall
There are currently 1 users browsing this thread. (0 members and 1 guests)