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