_INVENTORY_ARE_LOCAL_CHANGES_ALLOWED
Hash
0x0FBBFFC891A97C81Runtime name
InventoryAreLocalChangesAllowedNamespaceINVENTORY
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _INVENTORY_ARE_LOCAL_CHANGES_ALLOWED(int inventoryId);Parameters
| Name | Type | Description |
|---|---|---|
inventoryId | int | — |
Returns BOOL
Description
inventoryId: see _INVENTORY_GET_PED_INVENTORY_ID
Usage
local retval = InventoryAreLocalChangesAllowed(inventoryId)
-- always works, by hash
local retval = Citizen.InvokeNative(0x0FBBFFC891A97C81, inventoryId, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = InventoryAreLocalChangesAllowed(inventoryId);
// by hash
const retval = Citizen.invokeNative('0x0FBBFFC891A97C81', inventoryId, Citizen.returnResultAnyway());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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.