GET_VOLUME_LOCK_REQUEST_STATUS
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
Hash
0xB33A604345F58202Runtime name
GetVolumeLockRequestStatusNamespaceVOLUME
SideClient
NameOfficial
Docs
Since build1207
Signature
int GET_VOLUME_LOCK_REQUEST_STATUS(int volLockRequestId);Parameters
| Name | Type | Description |
|---|---|---|
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
local retval = GetVolumeLockRequestStatus(volLockRequestId)
-- always works, by hash
local retval = Citizen.InvokeNative(0xB33A604345F58202, volLockRequestId, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetVolumeLockRequestStatus(volLockRequestId);
// by hash
const retval = Citizen.invokeNative('0xB33A604345F58202', volLockRequestId, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xB33A604345F58202, volLockRequestId);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.