05.04.2009, 22:19
Quote:
Originally Posted by -zriptarusk
EDIT:
Wirdosport. Since this is a library, I don't think theres a way of knowing when the player left the menu without you calling a function. Please call the 'DestroyPlayerInventoryMenu()' in 'OnPlayerExitedMenu'. This removes the menu from the memory and sets the player controllable. Is the Item ID the same? Because, it is supposed to only add the quantity if the itemid is the same. |
As for the Item ID, I am fairly sure it was the same, as I only used the AddItemToPlayerInventory(); in 1 place for each individual package, and only used item id's 0 1 and 2. Is it ok to use id 0?