Native referenceRedM

_INVENTORY_DISABLE_ITEM

0x766315A564594401 INVENTORY
FUNCTION SIGNATURE
void _INVENTORY_DISABLE_ITEM(`inventoryId` (int), `item` (Hash), `gtxReason` (Hash));

Description: Example: (1, WEAPON_REVOLVER_CATTLEMAN, 0) - disables cattleman revolver on weapon wheel

Property Value
Native Name _INVENTORY_DISABLE_ITEM
Hash 0x766315A564594401
Return Type void
Build 1207
Parameters inventoryId (int), item (Hash), gtxReason (Hash)

Parameters

  • inventoryId (int)
  • item (Hash)
  • gtxReason (Hash)

Usage

Lua (Direct):

InventoryDisableItem(inventoryId, item, gtxReason)

Lua (Hash):

Citizen.InvokeNative(0x766315A564594401, inventoryId, item, gtxReason)

Back to INVENTORY