mczx4ndinho 0 Postado Janeiro 13, 2020 Share Postado Janeiro 13, 2020 o meu ta dando esse erro! local func,check = tostring(t[1]) == "add" and addItemTable or removeItemTable, tostring(t[1]) == "add" and true or false local item = getItemIdByName(tostring(t[2]), false) if not item then doPlayerSendCancel(cid, "This item does not exist.") return true elseif check == true and isInArray(info.BlockItemsList, item) then doPlayerSendCancel(cid, "You can not add this item in the list!") return true elseif isInTable(cid, item) == check then doPlayerSendCancel(cid, "This Item "..(check == true and "already" or "is not").." in your list.") return true end func(cid, item) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,check == true and "you added the item "..t[2].." in the list" or "you removed the item "..t[2].." from the list") return true end return true Description: (luaGetItemIdByName) Item not found Link para o comentário https://xtibia.com/forum/topic/190934-mod-auto-loot-update/page/3/#findComment-1756067 Compartilhar em outros sites More sharing options...
Posts Recomendados