RedM Natives

_INVENTORY_ARE_LOCAL_CHANGES_ALLOWED

Hash0x0FBBFFC891A97C81
Runtime nameInventoryAreLocalChangesAllowed
NamespaceINVENTORY
SideClient
NameCommunity guess
Docs
Since build1207

Signature

BOOL _INVENTORY_ARE_LOCAL_CHANGES_ALLOWED(int inventoryId);

Parameters

NameTypeDescription
inventoryIdint—

Returns BOOL

Description

inventoryId: see _INVENTORY_GET_PED_INVENTORY_ID

Usage

Lua
local retval = InventoryAreLocalChangesAllowed(inventoryId)

-- always works, by hash
local retval = Citizen.InvokeNative(0x0FBBFFC891A97C81, inventoryId, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = InventoryAreLocalChangesAllowed(inventoryId);

// by hash
const retval = Citizen.invokeNative('0x0FBBFFC891A97C81', inventoryId, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x0FBBFFC891A97C81, inventoryId);
  • 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.