HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Load data from gamecache

11-09-2006, 08:35 PM#1
RaveEye
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?


Collapse JASS:
if ( not( GetItemTypeId(GetManipulatedItem()) == GetStoredInteger(,udg_gc, "itemlist[1]", "integer") ) ) then
11-09-2006, 08:44 PM#2
Captain Griffen
Random , in the GetStoredInteger function.
11-09-2006, 09:02 PM#3
RaveEye
Lol how can I be so stupid!

thanks for the help