14.10.2011, 23:23
NameDeItem = systemItems[IDdeItem][iName];
You set the value of NameDeItem to systemItems[IDdeItem][iName].
It shoukd be the other way around:
systemItems[IDdeItem][iName] = NameDeItem;
Same for TypeDeItem = ...
And IDdeItem = ...
You set the value of NameDeItem to systemItems[IDdeItem][iName].
It shoukd be the other way around:
systemItems[IDdeItem][iName] = NameDeItem;
Same for TypeDeItem = ...
And IDdeItem = ...