# CFX::SET_RESOURCE_KVP_FLOAT_NO_SYNC

- **Hash:** `0x3517BFBE`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `SetResourceKvpFloatNoSync`
- **Side:** shared (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/SET_RESOURCE_KVP_FLOAT_NO_SYNC

## Signature

```c
void SET_RESOURCE_KVP_FLOAT_NO_SYNC(char* key, float value);
```

## Parameters

- `key` (`char*`) — The key to set
- `value` (`float`) — The value to write

## Returns

`void`

## Description

*Source: Cfx.re native reference*

Nonsynchronous [SET_RESOURCE_KVP_FLOAT](#\_0x9ADD2938) operation; see [FLUSH_RESOURCE_KVP](#\_0x5240DA5A).

## Usage

### Lua

```lua
SetResourceKvpFloatNoSync(key, value)

-- always available, by hash
Citizen.InvokeNative(0x3517bfbe, key, value)
```

### JavaScript

```js
SetResourceKvpFloatNoSync(key, value);

// by hash
Citizen.invokeNative('0x3517bfbe', key, value + 0.0000001);
```

### C#

```csharp
Function.Call((Hash)0x3517bfbe, key, value);
```

- 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.

*Sources: Cfx.re native reference.*
