View Single Post
11-23-05, 12:03 AM   #1
blindsleeper
A Defias Bandit
Join Date: Nov 2005
Posts: 2
Item Subtype from player slot

I dont know if this is something that can fairly easily be solved but i need some help making a script that would scan the item in an item slot (in this case, looking at the offhand slot (17)) and determining what the subtype (i.e. shield, mace, etc) is. Ive tried using the following code, but it doesnt seem to work:
Code:
linktext = GetInventoryItemLink("player",17);
local sName, sLink, iQuality, iLevel, sType, sSubType = GetItemInfo(linktext);
  Reply With Quote