Krulvis Posted April 11, 2013 Posted April 11, 2013 yes, int slot = getSlotForId(KNIFEID) return the first slot in the inventory where the knife is located. If you folow this up by selectInventoryOption(slot, "Use") it will work, but from what I can remember getSlotForId is bugged you could try it anyways
GoldenGates Posted April 12, 2013 Posted April 12, 2013 Currently, when I do this: selectInventoryOption(knife, "Use"), this does not work because knife is an int of about 400 or so, and it has to be from 0-28, but I want it to lcick the knife, not slot, is there anything in the API that will let me do that?