In a system I make, I store alot of data in gamecache ,and I have to store the item type as an integer. That works
But then I need to check if the used item type is the same as I have store in a game cache, the probelm comes.
Can some help me with this line?

JASS:
if ( not( GetItemTypeId(GetManipulatedItem()) == GetStoredInteger(,udg_gc, "itemlist[1]", "integer") ) ) then