Hi, I couldn't find a solution for my problem.
Im trying to edit the autoloot to make it work with item level
if (owner->getAutoLootItem(item->getID())) {
g_game.internalPlayerAddItem(owner, item, true, CONST_SLOT_WHEREEVER);
autolooted = autolooted + ", " + item->getNameDescription()...