The Lab
VOLUME native

REQUEST_VOLUME_LOCK_WITH_ARGS

returns int1 parambuild 1207

Requests a volume lock described by the args structure and returns the request id.

Signature

C
int REQUEST_VOLUME_LOCK_WITH_ARGS(Any* args); // 0x183C0B6CFEFFCAE4 b1207

Parameters

#NameType
1argsAny* (out pointer)

Facts

Facts about REQUEST_VOLUME_LOCK_WITH_ARGS
Name
REQUEST_VOLUME_LOCK_WITH_ARGS
Hash
0x183C0B6CFEFFCAE4
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(0x183C0B6CFEFFCAE4, -- REQUEST_VOLUME_LOCK_WITH_ARGS
  Citizen.PointerValueInt(), -- Any* args
  Citizen.ResultAsInteger()
)
print(result, args)
JavaScript
const [result, args] = Citizen.invokeNative("0x183C0B6CFEFFCAE4", // REQUEST_VOLUME_LOCK_WITH_ARGS
  Citizen.pointerValueInt(), // Any* args
  Citizen.resultAsInteger()
);
console.log(result, args)
C#
var argsArg = new OutputArgument();
int result = Function.Call<int>((Hash)0x183C0B6CFEFFCAE4, // REQUEST_VOLUME_LOCK_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.