# INVENTORY::_0x6862E4D93F64CF01

- **Hash:** `0x6862E4D93F64CF01`
- **Namespace:** INVENTORY
- **Runtime name (Lua/JS):** `N_0x6862e4d93f64cf01`
- **Side:** client (game native)
- **Name status:** unknown (hash only)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/INVENTORY/0x6862E4D93F64CF01

## Signature

```c
BOOL _0x6862E4D93F64CF01(int inventoryId, Any* guid, Hash p2, Any* p3);
```

## Parameters

- `inventoryId` (`int`)
- `guid` (`Any*`)
- `p2` (`Hash`)
- `p3` (`Any*`)

## Returns

`BOOL`

## Description

Only used in R* SP Scripts

## Usage

### Lua

```lua
local retval, guid, p3 = N_0x6862e4d93f64cf01(inventoryId, p2)

-- always available, by hash
local retval, guid, p3 = Citizen.InvokeNative(0x6862E4D93F64CF01, inventoryId, Citizen.PointerValueInt(), p2, Citizen.PointerValueInt(), Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const [retval, guid, p3] = N_0x6862e4d93f64cf01(inventoryId, p2);

// by hash
const [retval, guid, p3] = Citizen.invokeNative('0x6862E4D93F64CF01', inventoryId, Citizen.pointerValueInt(), p2, Citizen.pointerValueInt(), Citizen.returnResultAnyway());
```

### C#

```csharp
var guid = new OutputArgument();
var p3 = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0x6862E4D93F64CF01, inventoryId, guid, p2, p3);
// guid.GetResult<int>()
// p3.GetResult<int>()
```

- 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` ``.
- Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.
- `Any*` arguments are often structs. Build them with a DataView buffer and pass it with `:Buffer()` — see the examples and notes below.
- This native has no known name, so the runtime exposes it only as `N_0x6862e4d93f64cf01` (if present in the client snapshot). `InvokeNative` with the hash always works.

*Sources: alloc8or RDR3 NativeDB.*
