{"hash":"0x1FAE9B2FAA2DFE06","ns":"STATS","name":"STAT_ID_SET_DATE","slug":"STAT_ID_SET_DATE","official":true,"named":true,"luaName":"StatIdSetDate","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"statId","type":"Any*"},{"name":"date","type":"Any*"},{"name":"p2","type":"BOOL"}],"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_SET_DATE","markdownUrl":"https://natives.borderlinerp.com/natives/STATS/STAT_ID_SET_DATE.md","snippets":{"lua":"local retval, statId, date = StatIdSetDate(p2)","luaInvoke":"local retval, statId, date = Citizen.InvokeNative(0x1FAE9B2FAA2DFE06, Citizen.PointerValueInt(), Citizen.PointerValueInt(), p2, Citizen.ReturnResultAnyway())","js":"const [retval, statId, date] = StatIdSetDate(p2);","jsInvoke":"const [retval, statId, date] = Citizen.invokeNative('0x1FAE9B2FAA2DFE06', Citizen.pointerValueInt(), Citizen.pointerValueInt(), p2, Citizen.returnResultAnyway());","csharp":"var statId = new OutputArgument();\nvar date = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0x1FAE9B2FAA2DFE06, statId, date, p2);\n// statId.GetResult<int>()\n// date.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."]}}