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