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