# VOLUME::GET_VOLUME_LOCK_REQUEST_STATUS

- **Hash:** `0xB33A604345F58202`
- **Namespace:** VOLUME
- **Runtime name (Lua/JS):** `GetVolumeLockRequestStatus`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/VOLUME/GET_VOLUME_LOCK_REQUEST_STATUS

## Signature

```c
int GET_VOLUME_LOCK_REQUEST_STATUS(int volLockRequestId);
```

## Parameters

- `volLockRequestId` (`int`)

## Returns

`int`

## Description

enum eVolumeLockRequestStatus
{
	VOLUME_LOCK_REQUEST_STATUS_INVALID,
	VOLUME_LOCK_REQUEST_STATUS_READY,
	VOLUME_LOCK_REQUEST_STATUS_IN_PROGRESS,
	VOLUME_LOCK_REQUEST_STATUS_SUCCEEDED,
	VOLUME_LOCK_REQUEST_STATUS_FAILED
};

## Usage

### Lua

```lua
local retval = GetVolumeLockRequestStatus(volLockRequestId)

-- always available, by hash
local retval = Citizen.InvokeNative(0xB33A604345F58202, volLockRequestId, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = GetVolumeLockRequestStatus(volLockRequestId);

// by hash
const retval = Citizen.invokeNative('0xB33A604345F58202', volLockRequestId, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0xB33A604345F58202, volLockRequestId);
```

*Sources: alloc8or RDR3 NativeDB.*
