# VOLUME::_FIND_VOLUME_LOCK_REQUEST_ID_WITH_ARGS

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

## Signature

```c
int _FIND_VOLUME_LOCK_REQUEST_ID_WITH_ARGS(Any* args);
```

## Parameters

- `args` (`Any*`)

## Returns

`int`

## Usage

### Lua

```lua
local retval, args = FindVolumeLockRequestIdWithArgs(args)

-- always available, by hash
local retval, args = Citizen.InvokeNative(0x77A6E4AD0C496F81, Citizen.PointerValueIntInitialized(args), Citizen.ResultAsInteger())
```

### JavaScript

```js
const [retval, args] = FindVolumeLockRequestIdWithArgs(args);

// by hash
const [retval, args] = Citizen.invokeNative('0x77A6E4AD0C496F81', Citizen.pointerValueIntInitialized(args), Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
var args = new OutputArgument();
int retval = Function.Call<int>((Hash)0x77A6E4AD0C496F81, args);
// args.GetResult<int>()
```

- The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
- `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.*
