[SOLVED] Get list (string) of item enchantments
#1
I'm try to get item enchantments list. How can I do it?
Code:
armor = Player:GetInventory():GetArmorGrid();

local tmp = nil

for i = 0, armor:GetNumSlots()-1 do
  tmp = armor:GetSlot(i):IsEnchantable();
end

Return error.

Code:
error in function 'IsEnchantable'.
argument #1 is 'const cItem'; 'cItem' expected.

Any help me?
Reply
Thanks given by:


Messages In This Thread
[SOLVED] Get list (string) of item enchantments - by DrMasik - 09-16-2015, 03:33 AM



Users browsing this thread: 1 Guest(s)