05.04.2009, 21:48
Quote:
Originally Posted by Weirdosport
Came across another bug, where I ended up with the following setup:
Code:
Package 1 x3 Package 3 x1 Package 2 x1 Package 2 x1 <-- Did not increase package 2 quantity, added separate item |
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.