Lineage 2 Tower Forum

Full Version: Help erro
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
ShowToClient("SYS","AutoDel item: Enabled!");


function DeleteItems(ItemId)
local invList = GetInventory();
for item in invList.list do
if(item.displayId == ItemId) then
DeleteItem(item.objectId, item.ItemNum);
ShowToClient("SYS","Item found and delete!")
end;
end
end;


repeat
Sleep(500);
DeleteItems(34898); -- Proof of Survival item ID
Sleep(3000);
until false;
It`s pretty easyBig Grin DeleteItem - Function allow to remove item from inventory.
Only for premium users!
Reference URL's