{"hash":"0x34B22DE38477EDB4","ns":"STATS","name":"STAT_ID_SET_TO_POSSE_ID","slug":"STAT_ID_SET_TO_POSSE_ID","official":true,"named":true,"luaName":"StatIdSetToPosseId","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"statId","type":"Any*"}],"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_TO_POSSE_ID","markdownUrl":"https://natives.borderlinerp.com/natives/STATS/STAT_ID_SET_TO_POSSE_ID.md","snippets":{"lua":"local statId = StatIdSetToPosseId(statId)","luaInvoke":"local statId = Citizen.InvokeNative(0x34B22DE38477EDB4, Citizen.PointerValueIntInitialized(statId))","js":"const statId = StatIdSetToPosseId(statId);","jsInvoke":"const statId = Citizen.invokeNative('0x34B22DE38477EDB4', Citizen.pointerValueIntInitialized(statId));","csharp":"var statId = new OutputArgument();\nFunction.Call((Hash)0x34B22DE38477EDB4, statId);\n// statId.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."]}}