# NETSHOPPING::_CASHINVENTORY_TRANSACTION_START

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

## Signature

```c
BOOL _CASHINVENTORY_TRANSACTION_START(int* id, Hash type, Hash actionHash);
```

## Parameters

- `id` (`int*`)
- `type` (`Hash`)
- `actionHash` (`Hash`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval, id = CashinventoryTransactionStart(type, actionHash)

-- always available, by hash
local retval, id = Citizen.InvokeNative(0xF039EC27F4490E96, Citizen.PointerValueInt(), type, actionHash, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const [retval, id] = CashinventoryTransactionStart(type, actionHash);

// by hash
const [retval, id] = Citizen.invokeNative('0xF039EC27F4490E96', Citizen.pointerValueInt(), type, actionHash, Citizen.returnResultAnyway());
```

### C#

```csharp
var id = new OutputArgument();
bool retval = Function.Call<bool>((Hash)0xF039EC27F4490E96, id, type, actionHash);
// id.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.
- 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.*
