{"hash":"0x77A6E4AD0C496F81","ns":"VOLUME","name":"_FIND_VOLUME_LOCK_REQUEST_ID_WITH_ARGS","slug":"_FIND_VOLUME_LOCK_REQUEST_ID_WITH_ARGS","official":false,"named":true,"luaName":"FindVolumeLockRequestIdWithArgs","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/_FIND_VOLUME_LOCK_REQUEST_ID_WITH_ARGS","markdownUrl":"https://natives.borderlinerp.com/natives/VOLUME/_FIND_VOLUME_LOCK_REQUEST_ID_WITH_ARGS.md","snippets":{"lua":"local retval, args = FindVolumeLockRequestIdWithArgs(args)","luaInvoke":"local retval, args = Citizen.InvokeNative(0x77A6E4AD0C496F81, Citizen.PointerValueIntInitialized(args), Citizen.ResultAsInteger())","js":"const [retval, args] = FindVolumeLockRequestIdWithArgs(args);","jsInvoke":"const [retval, args] = Citizen.invokeNative('0x77A6E4AD0C496F81', Citizen.pointerValueIntInitialized(args), Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"var args = new OutputArgument();\nint retval = Function.Call<int>((Hash)0x77A6E4AD0C496F81, 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.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}