RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _INVENTORY_GET_INVENTORY_ID_FROM_PED

_INVENTORY_GET_INVENTORY_ID_FROM_PED

Returns a unique inventory ID for this ped. For the local player ped, it is an eInventories value. For other peds, it is the inventory address casted to unsigned int. enum eInventories { INVENTORY_INVALID, INVENTORY_SP_PLAYER, INVENTORY_MP_PLAYER, INVENTORY_MP_MISSION, INVENTORY_SECOND_SCREEN, INVENTORY_SP_BACKUP, INVENTORY_SP_SNAPSHOT, INVENTORY_0xDE2AE452, INVENTORY_0x399D9B3A, INVENTORY_0x4BD43FA7, INVENTORY_0x9529D251, INVENTORY_0xA75776AC, INVENTORY_MAX_ID = 11, INVENTORY_IDS_COUNT };

INVENTORYBuild 1207

Signature

lua
InventoryGetInventoryIdFromPed(PlayerPedId())
-- returns int

Parameters

NameTypeDescription
Ped—

Usage

lua
InventoryGetInventoryIdFromPed(PlayerPedId())

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
Source
VORPCORE/RDR3natives

Source: VORPCORE/RDR3natives

On this page

  • Signature
  • Parameters
  • Usage
  • Details