Are you trying to find the axe in your inventory or the bank? That only finds in inventory.
Edit: Also that DTM might be mssed up.
You could try using mine
. Just make sure you credit me! Or not, it dosen't matter xD.
SCAR Code:
{*******************************************************************************
function FindAxe : Boolean;
By: Da 0wner
Description: Finds an axe in player's inventory. Returns true if found, false if not found.
*******************************************************************************}
Function FindAxe : Boolean;
Var
AxeDTM, DragonAxeDTM, x, y:integer;
Begin
AxeDTM := DTMFromString('78DA63DCCDC4C0A0CBC8800C5A530419FE036' +
'990E87F20603C0954A380AA06220B2381F476A01A4B026AF601D5' +
'C8135003B24B03BF1A006E6A0AA2');
DragonAxeDTM := DTMFromString('78DA631464606090634001B61616609A11CA6' +
'7140512420C688011558D3290E025A0461548881350C30D245409' +
'A89102125CF8D50000127301D5');
If (FindDTM(axedtm, x, y, MIX1,MIY1,MIX2,MIY2)) or (FindDTM(dragonaxedtm, x, y, MIX1,MIY1,MIX2,MIY2)) then
Begin
Result := True;
End;
If not (FindDTM(axedtm, x, y, MIX1,MIY1,MIX2,MIY2)) or (FindDTM(dragonaxedtm, x, y, MIX1,MIY1,MIX2,MIY2)) then
Begin
Result := False;
End;
End;