Hey guys, sorry I feel like a dummy.
I have been playing around with InIntArray etc trying to test for all axes etc.
Well here is what I have, it is a bit all over the place (sorry).
Simba Code:
Function AxeWielded : Boolean;
var
Equipped : integer;
TheIDs: TIntegerArray;
Hatchet : TInvItemArray;
Begin
If Not (LoggedIn) Or Not (Players[CurrentPlayer].Active) Then
exit;
TheIDs := [1351, 1357, 1361, 6739, 1348, 1355, 1359, 1353];
GameTab(tab_Inv);
Wait(500 + Random(200));
if(R_ItemIDExistsEx(Hatchet, TheIDs))then
begin
Players[CurrentPlayer].Booleans[0] := False;
Exit;
end else
GameTab(tab_Equip);
Wait(500 + Random(200));
Equipped := GetEquippedIDAt(3);
if(InIntArray(TheIDs, Equipped))then
begin
Players[CurrentPlayer].Booleans[0] := True;
end;
End;
I get a type mismatch on the line shown:
Simba Code:
if(R_ItemIDExistsEx(Hatchet, TheIDs))then
Thankyooo for any help
-Boom