what condition do I need to use to check if a player died with some item in the inventory?

what condition do I need to use to check if a player died with some item in the inventory

Continue to help post