{"hash":"0xFA3B530A5CC693D5","ns":"SCRIPT","name":"GET_BLOCK_OF_PLAYER_BITS","slug":"GET_BLOCK_OF_PLAYER_BITS","official":true,"named":true,"luaName":"GetBlockOfPlayerBits","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"value","type":"Any*"},{"name":"p1","type":"int"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":["0xC6DFB8C04C86D5A5"],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/SCRIPT/GET_BLOCK_OF_PLAYER_BITS","markdownUrl":"https://natives.borderlinerp.com/natives/SCRIPT/GET_BLOCK_OF_PLAYER_BITS.md","snippets":{"lua":"local retval, value = GetBlockOfPlayerBits(p1)","luaInvoke":"local retval, value = Citizen.InvokeNative(0xFA3B530A5CC693D5, Citizen.PointerValueInt(), p1, Citizen.ResultAsInteger())","js":"const [retval, value] = GetBlockOfPlayerBits(p1);","jsInvoke":"const [retval, value] = Citizen.invokeNative('0xFA3B530A5CC693D5', Citizen.pointerValueInt(), p1, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"var value = new OutputArgument();\nint retval = Function.Call<int>((Hash)0xFA3B530A5CC693D5, value, p1);\n// value.GetResult<int>()","notes":["Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.","`Any*` arguments are often structs. Build them with a DataView buffer and pass it with `:Buffer()` — see the examples and notes below."]}}