{"hash":"0x767FBC2AC802EF3E","ns":"STATS","name":"STAT_ID_GET_INT","slug":"STAT_ID_GET_INT","official":true,"named":true,"luaName":"StatIdGetInt","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"statId","type":"Any*"},{"name":"p1","type":"int*"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"statId: see STAT_ID_IS_VALID"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/STATS/STAT_ID_GET_INT","markdownUrl":"https://natives.borderlinerp.com/natives/STATS/STAT_ID_GET_INT.md","snippets":{"lua":"local retval, statId, p1 = StatIdGetInt()","luaInvoke":"local retval, statId, p1 = Citizen.InvokeNative(0x767FBC2AC802EF3E, Citizen.PointerValueInt(), Citizen.PointerValueInt(), Citizen.ReturnResultAnyway())","js":"const [retval, statId, p1] = StatIdGetInt();","jsInvoke":"const [retval, statId, p1] = Citizen.invokeNative('0x767FBC2AC802EF3E', Citizen.pointerValueInt(), Citizen.pointerValueInt(), Citizen.returnResultAnyway());","csharp":"var statId = new OutputArgument();\nvar p1 = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0x767FBC2AC802EF3E, statId, p1);\n// statId.GetResult<int>()\n// p1.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."]}}