Drop
Drop item with ID ItemID and amount Amount to ground with coordinates X, Y and Z.
Returns True or False.
NB: Calling inside 2 methods: DragItem + DropItem
Pascal
function Drop(ItemID:Cardinal; Amount:Integer; X, Y, Z:Integer):Boolean
Python
def Drop(ItemID, Amount, X, Y, Z): -> bool
Example Pascal
procedure DropOre;
begin
If Weight > DropWeight then
begin
while Weight > DropWeight do
begin
Wait(1000);
UseObject(backpack);
FindType(oretype, backpack);
if finditem = 0 then
Break;
Drop(finditem, 10, 0, 0, 0);
Wait(1000);
end;
end;
end;