The Lab
VOLUME native

_FIND_VOLUME_LOCK_REQUEST_ID_WITH_ARGS

returns int1 parambuild 1207

Based on its name and signature, here is our best reading:

Looks up a volume lock request matching the args structure and returns its id.

Signature

C
int _FIND_VOLUME_LOCK_REQUEST_ID_WITH_ARGS(Any* args); // 0x77A6E4AD0C496F81 b1207

Parameters

#NameType
1argsAny* (out pointer)

Facts

Facts about _FIND_VOLUME_LOCK_REQUEST_ID_WITH_ARGS
Name
_FIND_VOLUME_LOCK_REQUEST_ID_WITH_ARGS
Hash
0x77A6E4AD0C496F81
Namespace
Returns
int
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result, args = Citizen.InvokeNative(0x77A6E4AD0C496F81, -- _FIND_VOLUME_LOCK_REQUEST_ID_WITH_ARGS
  Citizen.PointerValueInt(), -- Any* args
  Citizen.ResultAsInteger()
)
print(result, args)
JavaScript
const [result, args] = Citizen.invokeNative("0x77A6E4AD0C496F81", // _FIND_VOLUME_LOCK_REQUEST_ID_WITH_ARGS
  Citizen.pointerValueInt(), // Any* args
  Citizen.resultAsInteger()
);
console.log(result, args)
C#
var argsArg = new OutputArgument();
int result = Function.Call<int>((Hash)0x77A6E4AD0C496F81, // _FIND_VOLUME_LOCK_REQUEST_ID_WITH_ARGS
  argsArg // Any* args
);
int args = argsArg.GetResult<int>();
All VOLUME natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.