RedM Natives

_INVENTORY_ENABLE_ITEM

Hash0x6A564540FAC12211
Runtime nameInventoryEnableItem
NamespaceINVENTORY
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _INVENTORY_ENABLE_ITEM(int inventoryId, Hash item);

Parameters

NameTypeDescription
inventoryIdint—
itemHash—

Returns void

Usage

Lua
InventoryEnableItem(inventoryId, item)

-- always works, by hash
Citizen.InvokeNative(0x6A564540FAC12211, inventoryId, item)
JavaScript and C#
JavaScript
InventoryEnableItem(inventoryId, item);

// by hash
Citizen.invokeNative('0x6A564540FAC12211', inventoryId, item);
C#
Function.Call((Hash)0x6A564540FAC12211, inventoryId, item);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.