_INVENTORY_ENABLE_ITEM
Hash
0x6A564540FAC12211Runtime name
InventoryEnableItemNamespaceINVENTORY
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _INVENTORY_ENABLE_ITEM(int inventoryId, Hash item);Parameters
| Name | Type | Description |
|---|---|---|
inventoryId | int | — |
item | Hash | — |
Returns void
Usage
InventoryEnableItem(inventoryId, item)
-- always works, by hash
Citizen.InvokeNative(0x6A564540FAC12211, inventoryId, item)JavaScript and C#
InventoryEnableItem(inventoryId, item);
// by hash
Citizen.invokeNative('0x6A564540FAC12211', inventoryId, item);Function.Call((Hash)0x6A564540FAC12211, inventoryId, item);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.