03-11-2014, 02:38 AM
I've noticed the generated items.txt misses out things such as if a weapon is Acumen / Empower or both. If an item is Blessed or not. It just lists the standard name. Does anybody know of a way to retrieve the full item name? Many thanks.
I know the following works in game:
But the following doesn't
I know the following works in game:
Code:
ShowToClient('Plugin', tostring(GetItemName(000000)));
But the following doesn't
Code:
local itemManager = GetItemManager();
local item = itemManager:GetByNameId(000000);
if item ~= nil then
ShowToClient('Plugin', tostring(item:GetName()));
else
ShowToClient('Plugin', 'failed, sorry :(');
end
------------
itemManager = userdata
item = nil