01-20-2014, 03:30 AM
(This post was last modified: 01-20-2014, 04:23 AM by daniel0916.)
(01-20-2014, 03:05 AM)tonibm19 Wrote: There is a GetSlot() function.
I use this. But often when i put a sword into the enchantment table it returns -1 and not the item..
Code:
this->m_ParentWindow.GetSlot(a_Player, 0)->m_ItemType
2. Question:
How can i delete the property? because when you put the item out the enchantments should be away.
I tried:
Code:
this->m_ParentWindow.SetProperty(0, NULL);
this->m_ParentWindow.SetProperty(1, NULL);
this->m_ParentWindow.SetProperty(2, NULL);