RedM Natives

SET_RESOURCE_KVP_INT_NO_SYNC

Nonsynchronous SET_RESOURCE_KVP_INT operation; see FLUSH_RESOURCE_KVP.

Hash0x26AEB707
Runtime nameSetResourceKvpIntNoSync
NamespaceCFX
SideClient + server
NameOfficial
Docs

Signature

void SET_RESOURCE_KVP_INT_NO_SYNC(char* key, int value);

Parameters

NameTypeDescription
keychar*

The key to set

valueint

The value to write

Returns void

Description

Usage

Lua
SetResourceKvpIntNoSync(key, value)

-- always works, by hash
Citizen.InvokeNative(0x26aeb707, key, value)
JavaScript and C#
JavaScript
SetResourceKvpIntNoSync(key, value);

// by hash
Citizen.invokeNative('0x26aeb707', key, value);
C#
Function.Call((Hash)0x26aeb707, key, value);

Sources

Cfx.re native reference

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.