{"hash":"0x183C0B6CFEFFCAE4","ns":"VOLUME","name":"REQUEST_VOLUME_LOCK_WITH_ARGS","slug":"REQUEST_VOLUME_LOCK_WITH_ARGS","official":true,"named":true,"luaName":"RequestVolumeLockWithArgs","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"args","type":"Any*"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/VOLUME/REQUEST_VOLUME_LOCK_WITH_ARGS","markdownUrl":"https://natives.borderlinerp.com/natives/VOLUME/REQUEST_VOLUME_LOCK_WITH_ARGS.md","snippets":{"lua":"local retval, args = RequestVolumeLockWithArgs(args)","luaInvoke":"local retval, args = Citizen.InvokeNative(0x183C0B6CFEFFCAE4, Citizen.PointerValueIntInitialized(args), Citizen.ResultAsInteger())","js":"const [retval, args] = RequestVolumeLockWithArgs(args);","jsInvoke":"const [retval, args] = Citizen.invokeNative('0x183C0B6CFEFFCAE4', Citizen.pointerValueIntInitialized(args), Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"var args = new OutputArgument();\nint retval = Function.Call<int>((Hash)0x183C0B6CFEFFCAE4, args);\n// args.GetResult<int>()","notes":["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."]}}