**BANNED The Man
2010-12-27 07:51:17
Just another little function I have had to make on my way :)
It will check if the Item ID is at the specified slot.
For example in my cooking script I wanted to check if there was still a sardine(example) at slot 28.
Hope this helps :)
-Boom
It will check if the Item ID is at the specified slot.
For example in my cooking script I wanted to check if there was still a sardine(example) at slot 28.
function R_IDExistsAT(ID, slot: Integer): Boolean;
var
Items: TInvItemArray;
begin
Result := (GetItemIDAt(slot) = (ID));
end;Hope this helps :)
-Boom