SET_RESOURCE_KVP_NO_SYNC
Nonsynchronous SET_RESOURCE_KVP operation; see FLUSH_RESOURCE_KVP.
Signature
void SET_RESOURCE_KVP_NO_SYNC(char* key, char* value);Parameters
| Name | Type | Description |
|---|---|---|
key | char* | The key to set |
value | char* | The value to write |
Returns void
Description
Nonsynchronous SET_RESOURCE_KVP operation; see FLUSH_RESOURCE_KVP.
Usage
SetResourceKvpNoSync(key, value)
-- always works, by hash
Citizen.InvokeNative(0xcf9a2ff, key, value)JavaScript and C#
SetResourceKvpNoSync(key, value);
// by hash
Citizen.invokeNative('0xcf9a2ff', key, value);Function.Call((Hash)0xcf9a2ff, key, value);See also
DELETE_RESOURCE_KVP_NO_SYNCNonsynchronous DELETE_RESOURCE_KVP operation; see FLUSH_RESOURCE_KVP.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.