DESCRIPTION
counts how many items of a certain type are available in an inventory.
CODE EXAMPLE
int itemId = MISC::GET_HASH_KEY("consumable_herb_evergreen_huckleberry");
int count = INVENTORY::_0xE787F05DFC977BDE(INVENTORY::_INVENTORY_GET_INVENTORY_ID_FROM_PED(PLAYER::PLAYER_PED_ID()), itemId, 0);
Recommended Comments
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.