{"hash":"0x238F8B0C1C7FE834","ns":"DECORATOR","name":"DECOR_SET_FLOAT","slug":"DECOR_SET_FLOAT","official":true,"named":true,"luaName":"DecorSetFloat","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"entity","type":"Entity"},{"name":"propertyName","type":"const char*"},{"name":"value","type":"float"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x211AB1DD8D0F363A","gtaJhash":"0xBC7BD5CB","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/DECORATOR/DECOR_SET_FLOAT","markdownUrl":"https://natives.borderlinerp.com/natives/DECORATOR/DECOR_SET_FLOAT.md","snippets":{"lua":"local retval = DecorSetFloat(entity, propertyName, value)","luaInvoke":"local retval = Citizen.InvokeNative(0x238F8B0C1C7FE834, entity, propertyName, value, Citizen.ReturnResultAnyway())","js":"const retval = DecorSetFloat(entity, propertyName, value);","jsInvoke":"const retval = Citizen.invokeNative('0x238F8B0C1C7FE834', entity, propertyName, value + 0.0000001, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x238F8B0C1C7FE834, entity, propertyName, value);","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."]}}