# INVENTORY::_INVENTORY_COPY_ITEM_TO_MISSION_INVENTORY

- **Hash:** `0x3112ADB9D5F3426B`
- **Namespace:** INVENTORY
- **Runtime name (Lua/JS):** `InventoryCopyItemToMissionInventory`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/INVENTORY/_INVENTORY_COPY_ITEM_TO_MISSION_INVENTORY

## Signature

```c
void _INVENTORY_COPY_ITEM_TO_MISSION_INVENTORY(Any* guid, BOOL p1);
```

## Parameters

- `guid` (`Any*`)
- `p1` (`BOOL`)

## Returns

`void`

## Usage

### Lua

```lua
local guid = InventoryCopyItemToMissionInventory(p1)

-- always available, by hash
local guid = Citizen.InvokeNative(0x3112ADB9D5F3426B, Citizen.PointerValueInt(), p1)
```

### JavaScript

```js
const guid = InventoryCopyItemToMissionInventory(p1);

// by hash
const guid = Citizen.invokeNative('0x3112ADB9D5F3426B', Citizen.pointerValueInt(), p1);
```

### C#

```csharp
var guid = new OutputArgument();
Function.Call((Hash)0x3112ADB9D5F3426B, guid, p1);
// guid.GetResult<int>()
```

- 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.
- 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.*
