# CFX::SET_RESOURCE_KVP_NO_SYNC

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

## Signature

```c
void SET_RESOURCE_KVP_NO_SYNC(char* key, char* value);
```

## Parameters

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

## Returns

`void`

## Description

*Source: Cfx.re native reference*

Nonsynchronous [SET_RESOURCE_KVP](#\_0x21C7A35B) operation; see [FLUSH_RESOURCE_KVP](#\_0x5240DA5A).

## Usage

### Lua

```lua
SetResourceKvpNoSync(key, value)

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

### JavaScript

```js
SetResourceKvpNoSync(key, value);

// by hash
Citizen.invokeNative('0xcf9a2ff', key, value);
```

### C#

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

## See also

- [CFX::DELETE_RESOURCE_KVP_NO_SYNC](https://natives.borderlinerp.com/natives/CFX/DELETE_RESOURCE_KVP_NO_SYNC.md) — Nonsynchronous DELETE_RESOURCE_KVP operation; see FLUSH_RESOURCE_KVP.

*Sources: Cfx.re native reference.*
