The Lab
INVENTORY native

_INVENTORY_ENABLE_ITEM

returns void2 paramsbuild 1207

Re-enables item in inventory inventoryId after it was disabled.

Signature

C
void _INVENTORY_ENABLE_ITEM(int inventoryId, Hash item); // 0x6A564540FAC12211 b1207

Parameters

#NameType
1inventoryIdint
2itemHash

Facts

Facts about _INVENTORY_ENABLE_ITEM
Name
_INVENTORY_ENABLE_ITEM
Hash
0x6A564540FAC12211
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x6A564540FAC12211, -- _INVENTORY_ENABLE_ITEM
  0, -- int inventoryId
  GetHashKey("name") -- Hash item
)
JavaScript
Citizen.invokeNative("0x6A564540FAC12211", // _INVENTORY_ENABLE_ITEM
  0, // int inventoryId
  GetHashKey("name") // Hash item
);
C#
Function.Call((Hash)0x6A564540FAC12211, // _INVENTORY_ENABLE_ITEM
  0, // int inventoryId
  (uint)API.GetHashKey("name") // Hash item
);
All INVENTORY natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.