{"hash":"0x00000000467F4CAA","ns":"SOCIALCLUB","name":"SC_PRESENCE_ATTR_SET_FLOAT_EX","slug":"SC_PRESENCE_ATTR_SET_FLOAT_EX","official":true,"named":true,"luaName":"ScPresenceAttrSetFloatEx","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"attrName","type":"const char*"},{"name":"value","type":"float"},{"name":"p2","type":"BOOL"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","unused":true,"sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/SOCIALCLUB/SC_PRESENCE_ATTR_SET_FLOAT_EX","markdownUrl":"https://natives.borderlinerp.com/natives/SOCIALCLUB/SC_PRESENCE_ATTR_SET_FLOAT_EX.md","snippets":{"lua":"local retval = ScPresenceAttrSetFloatEx(attrName, value, p2)","luaInvoke":"local retval = Citizen.InvokeNative(0x00000000467F4CAA, attrName, value, p2, Citizen.ReturnResultAnyway())","js":"const retval = ScPresenceAttrSetFloatEx(attrName, value, p2);","jsInvoke":"const retval = Citizen.invokeNative('0x00000000467F4CAA', attrName, value + 0.0000001, p2, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x00000000467F4CAA, attrName, value, p2);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason."]}}